]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Simplify pos_is_ok()
[stockfish] / src / position.h
index 25e57512cd18720345b7f04fd73fe80e73a2fa8a..8342df3c1efa067dea1f688fdb42d719d33c68f6 100644 (file)
@@ -138,7 +138,7 @@ public:
   void increment_tbHits();
 
   // Static Exchange Evaluation
-  bool see_ge(Move m, Value value = VALUE_ZERO) const;
+  bool see_ge(Move m, Value threshold = VALUE_ZERO) const;
 
   // Accessing hash keys
   Key key() const;
@@ -161,7 +161,7 @@ public:
   Value non_pawn_material() const;
 
   // Position consistency check, for debugging
-  bool pos_is_ok(int* failedStep = nullptr) const;
+  bool pos_is_ok() const;
   void flip();
 
 private: