Value bestValue, Depth depth, Move threatMove,
int moveCount, MovePicker* mp, int nodeType) {
assert(pos.pos_is_ok());
- assert(bestValue >= -VALUE_INFINITE);
+ assert(bestValue > -VALUE_INFINITE);
assert(bestValue <= alpha);
assert(alpha < beta);
assert(beta <= VALUE_INFINITE);
// Copy input arguments to initialize the search
RootPosition.copy(pos, 0);
Limits = limits;
- RootMoves = searchMoves;
+ SearchMoves = searchMoves;
// Reset signals before to start the new search
memset((void*)&Signals, 0, sizeof(Signals));