Skip to content

Commit

Permalink
Fixes error message
Browse files Browse the repository at this point in the history
  • Loading branch information
fathzer committed Oct 27, 2023
1 parent cbc113b commit d8b8f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/fathzer/jchess/uci/UCI.java
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ private <M> String toString(M move) {

protected void doPerfStat(String[] tokens) {
if (! (getEngine() instanceof TestableMoveGeneratorSupplier)) {
debug("perf is not supported by this engine");
debug("test is not supported by this engine");
}
final Optional<List<Integer>> params = new ParamsParser<>(this::debug, Integer::parseInt, (i,v)->v>0).parse(tokens, Arrays.asList("search depth", "number of threads", "cut time"), Arrays.asList(null,1,Integer.MAX_VALUE));
if (params.isEmpty()) {
Expand Down

0 comments on commit d8b8f3f

Please sign in to comment.