mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
Revert "Make rootDepth local to search. (#2077)"
This reverts commit 44c320a572.
Fix a compile error.
Bench: 3824325
This commit is contained in:
+1
-1
@@ -283,7 +283,7 @@ void Thread::search() {
|
||||
Move pv[MAX_PLY+1];
|
||||
Value bestValue, alpha, beta, delta;
|
||||
Move lastBestMove = MOVE_NONE;
|
||||
Depth lastBestMoveDepth = DEPTH_ZERO, rootDepth = DEPTH_ZERO;
|
||||
Depth lastBestMoveDepth = DEPTH_ZERO;
|
||||
MainThread* mainThread = (this == Threads.main() ? Threads.main() : nullptr);
|
||||
double timeReduction = 1, totBestMoveChanges = 0;
|
||||
Color us = rootPos.side_to_move();
|
||||
|
||||
Reference in New Issue
Block a user