X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fevaluate.cpp;h=c86af7803db8a3e6861ee81c2d45b6c200f0261a;hb=4dc7ba16191bd1ded7c8257afd2a3b9194cebca8;hp=649842dc87384f568b390e497649f5c62fba6195;hpb=92d70fb6677f4ed0568aa50f239ceea2d8a1cd97;p=stockfish diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 649842dc..c86af780 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -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).