mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Rewrite pos_is_ok()
No functional change.
This commit is contained in:
@@ -174,7 +174,7 @@ public:
|
||||
Value non_pawn_material(Color c) const;
|
||||
|
||||
// Position consistency check, for debugging
|
||||
bool pos_is_ok(int* step = nullptr) const;
|
||||
bool pos_is_ok(bool fast = true, int* failedStep = nullptr) const;
|
||||
void flip();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user