X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fthread.cpp;h=16bda2809147f9d299d9b425ae8d00d9997ff071;hb=08abe8b4a33ab409f5b61ebcb9216ddf8a605e95;hp=d845fdf2e4183f2fdaa10bb656b66d1ab6439749;hpb=83d8fe2d59bad718de70b00ac2c8fddfadda76b5;p=stockfish diff --git a/src/thread.cpp b/src/thread.cpp index d845fdf2..16bda280 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -253,7 +253,7 @@ template 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);