]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.cpp
Rename check related functions
[stockfish] / src / evaluate.cpp
index 649842dc87384f568b390e497649f5c62fba6195..c86af7803db8a3e6861ee81c2d45b6c200f0261a 100644 (file)
@@ -292,7 +292,7 @@ Value do_evaluate(const Position& pos, Value& margin) {
 
   assert(pos.is_ok());
   assert(pos.thread() >= 0 && pos.thread() < MAX_THREADS);
-  assert(!pos.is_check());
+  assert(!pos.in_check());
 
   // Initialize value by reading the incrementally updated scores included
   // in the position object (material + piece square tables).