projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d477a0d
)
Fix the comment for Position::is_draw()
author
joergoster
<osterj165@googlemail.com>
Tue, 17 Mar 2015 16:42:29 +0000 (17:42 +0100)
committer
Joona 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
patch
|
blob
|
history
diff --git
a/src/position.cpp
b/src/position.cpp
index
9db41b7
..
15ccb48
100644
(file)
--- 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 {