Skip to content

Commit c6f987d

Browse files
joergosterzamar
authored andcommitted
Fix the comment for Position::is_draw()
We no longer check for insufficient material. No functional change Resolves #299
1 parent d477a0d commit c6f987d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/position.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,8 +1078,8 @@ Value Position::see(Move m) const {
10781078
}
10791079

10801080

1081-
/// Position::is_draw() tests whether the position is drawn by material, 50 moves
1082-
/// rule or repetition. It does not detect stalemates.
1081+
/// Position::is_draw() tests whether the position is drawn by 50-move rule
1082+
/// or by repetition. It does not detect stalemates.
10831083

10841084
bool Position::is_draw() const {
10851085

0 commit comments

Comments
 (0)