mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 05:07:14 +00:00
Better naming in endgame code
And small clean-up of magic bitboards code. No functional change. Closes #1138
This commit is contained in:
committed by
Joona Kiiski
parent
f907d5b7d9
commit
27ba611a3d
+1
-1
@@ -335,7 +335,7 @@ void Thread::search() {
|
||||
MainThread* mainThread = (this == Threads.main() ? Threads.main() : nullptr);
|
||||
|
||||
std::memset(ss-4, 0, 7 * sizeof(Stack));
|
||||
for(int i = 4; i > 0; i--)
|
||||
for (int i = 4; i > 0; i--)
|
||||
(ss-i)->history = &this->counterMoveHistory[NO_PIECE][0]; // Use as sentinel
|
||||
|
||||
bestValue = delta = alpha = -VALUE_INFINITE;
|
||||
|
||||
Reference in New Issue
Block a user