Rewrite pos_is_ok()

No functional change.
This commit is contained in:
Marco Costalba
2015-02-07 14:34:35 +01:00
parent 47a0768102
commit 152a4dc5cd
2 changed files with 64 additions and 79 deletions

View File

@@ -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: