]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Fix compile error in cpu_count()
[stockfish] / src / thread.cpp
index d845fdf2e4183f2fdaa10bb656b66d1ab6439749..16bda2809147f9d299d9b425ae8d00d9997ff071 100644 (file)
@@ -253,7 +253,7 @@ template <bool Fake>
 Value ThreadsManager::split(Position& pos, SearchStack* ss, Value alpha, Value beta,
                             Value bestValue, Depth depth, Move threatMove,
                             int moveCount, MovePicker* mp, int nodeType) {
-  assert(pos.is_ok());
+  assert(pos.pos_is_ok());
   assert(bestValue >= -VALUE_INFINITE);
   assert(bestValue <= alpha);
   assert(alpha < beta);