Skip to content

Commit

Permalink
1 + depth, Is it a bug?
Browse files Browse the repository at this point in the history
  • Loading branch information
Joachim26 committed Jan 16, 2024
1 parent ce487f0 commit b0910da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ void Search::Worker::start_searching() {

//SFnps Begin
if (options["Search Nodes"]) limits.nodes = int(options["Search Nodes"]);
if (options["Search Depth"]) limits.depth = int(options["Search Depth"]);
if (options["Search Depth"]) limits.depth = 1 + int(options["Search Depth"]);
//SFnps End

if (rootMoves.empty())
Expand Down

0 comments on commit b0910da

Please sign in to comment.