mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 03:57:45 +00:00
Small cleanups
closes https://github.com/official-stockfish/Stockfish/pull/2567 No functional change.
This commit is contained in:
+1
-4
@@ -1121,10 +1121,7 @@ bool Position::is_draw(int ply) const {
|
||||
|
||||
// Return a draw score if a position repeats once earlier but strictly
|
||||
// after the root, or repeats twice before or at the root.
|
||||
if (st->repetition && st->repetition < ply)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return st->repetition && st->repetition < ply;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user