Skip to content

Commit 9bff176

Browse files
fix: clamp negative times with go uci command
Turn on the `clamp-negatives` feature for the uci-parser so that negative values do not throw an error in the engine. Resolves #100 bench: 2517656
1 parent e377f1a commit 9bff176

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ uci-parser = { version = "1.1.0", features = [
1212
"parse-go-perft",
1313
"parse-position-kiwipete",
1414
"types",
15+
"clamp-negatives",
1516
] }
1617
rand = { version = "0.9.0", features = ["small_rng"] }
1718
arrayvec = "0.7.6"

0 commit comments

Comments
 (0)