mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Fix the comment for Position::is_draw()
We no longer check for insufficient material. No functional change Resolves #299
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user