]> git.sesse.net Git - stockfish/commitdiff
Fix the comment for Position::is_draw()
authorjoergoster <osterj165@googlemail.com>
Tue, 17 Mar 2015 16:42:29 +0000 (17:42 +0100)
committerJoona Kiiski <joona.kiiski@gmail.com>
Wed, 18 Mar 2015 20:30:50 +0000 (20:30 +0000)
We no longer check for insufficient material.

No functional change

Resolves #299

src/position.cpp

index 9db41b784918388f31b9f4d5a3385c043d2ae4f8..15ccb4835dbea166a6ae267d30e27056893734ac 100644 (file)
@@ -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 {