Skip to content

Commit

Permalink
Fix flipped sign in search logging output
Browse files Browse the repository at this point in the history
  • Loading branch information
lightvector committed Jul 20, 2019
1 parent 99f0d21 commit c9dec11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/search/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2336,6 +2336,7 @@ void Search::printTree(ostream& out, const SearchNode* node, PrintTreeOptions op
);
data.weightFactor = NAN;
}
perspective = (perspective != P_BLACK && perspective != P_WHITE) ? node->nextPla : perspective;
printTreeHelper(out, node, options, prefix, 0, 0, data, perspective);
}

Expand Down

0 comments on commit c9dec11

Please sign in to comment.