- assert(RootPosition.is_ok());
-
- return think(RootPosition, infinite, ponder, RootPosition.side_to_move(),
- time, inc, movesToGo, depth, nodes, moveTime, searchMoves);
+ return think(pos, infinite, ponder, time, inc, movesToGo,
+ depth, nodes, moveTime, searchMoves);