Rewrite pos_is_ok()
[stockfish] / src / position.h
index 0bb7b0b99ada88507cecd6f6f0518031c4e5c7a5..679a636d30154080f7e276adc11c02053b70476d 100644 (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: