mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
pseudo_legal() and MOVE_NONE
MOVE_NONE is represented as SQ_A1 to SQ_A1 which is never pseudo_legal. STC LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 38807 W: 8363 L: 8275 D: 22169 http://tests.stockfishchess.org/tests/view/5c05f11d0ebc5902bcee4c86 No functional change
This commit is contained in:
committed by
Stéphane Nicolet
parent
9dc6d270fc
commit
33d9548218
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user