Skip to content

Commit

Permalink
allow return any matches
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Sep 30, 2023
1 parent 6c7506c commit 15727bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (a *Analyzer)DoError(jerr *JavaError)(matched []SolutionPossibility, err er
sol.Match += matches * 0.9
}
}
if sol.Match >= 0.5 { // at least have 50% matches
if sol.Match != 0 { // have any matches
matched = append(matched, sol)
}
return
Expand Down

0 comments on commit 15727bf

Please sign in to comment.