]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.cpp
Don't need to assert for pos.is_ok() when position is constant
[stockfish] / src / evaluate.cpp
index 8648ea74e871f268afdf6af6e32fef40ff152aae..1bbc0a36eb7f12e1b043b3dace6d5aa986d75363 100644 (file)
@@ -275,7 +275,6 @@ Value do_evaluate(const Position& pos, Value& margin) {
   Value margins[2];
   Score score, mobilityWhite, mobilityBlack;
 
-  assert(pos.is_ok());
   assert(pos.thread() >= 0 && pos.thread() < MAX_THREADS);
   assert(!pos.in_check());