From c6f987d1ad55fdf6b5cf2191ff8c80d5248c7d76 Mon Sep 17 00:00:00 2001 From: joergoster Date: Tue, 17 Mar 2015 17:42:29 +0100 Subject: [PATCH] Fix the comment for Position::is_draw() We no longer check for insufficient material. No functional change Resolves #299 --- src/position.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.2