From: joergoster Date: Tue, 17 Mar 2015 16:42:29 +0000 (+0100) Subject: Fix the comment for Position::is_draw() X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=c6f987d1ad55fdf6b5cf2191ff8c80d5248c7d76 Fix the comment for Position::is_draw() We no longer check for insufficient material. No functional change Resolves #299 --- diff --git a/src/position.cpp b/src/position.cpp index 9db41b78..15ccb483 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -1078,8 +1078,8 @@ Value Position::see(Move m) const { } -/// Position::is_draw() tests whether the position is drawn by material, 50 moves -/// rule or repetition. It does not detect stalemates. +/// Position::is_draw() tests whether the position is drawn by 50-move rule +/// or by repetition. It does not detect stalemates. bool Position::is_draw() const {