]> git.sesse.net Git - stockfish/blobdiff - src/position.cpp
pseudo_legal() and MOVE_NONE
[stockfish] / src / position.cpp
index c915a1f9f3cf7e466eb2ed9d754cc75cdd22cbd1..8e7a5aa5d24de004688134b12dbbe75d9c902697 100644 (file)
@@ -579,6 +579,7 @@ bool Position::legal(Move m) const {
 /// Position::pseudo_legal() takes a random move and tests whether the move is
 /// pseudo legal. It is used to validate moves from TT that can be corrupted
 /// due to SMP concurrent access or hash position key aliasing.
+/// MOVE_NONE is represented as SQ_A1 to SQ_A1 which is never pseudo_legal.
 
 bool Position::pseudo_legal(const Move m) const {