X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=51d3ae8cba3910b48301adab0507316e09acb850;hp=4f943b4c561f7394dad2ee8241bbfb60fce37c2f;hb=27ba611a3da37423a3502e49beeebe11c9a11d8e;hpb=f907d5b7d93a161bc88aeaec403631de9de092f9;ds=sidebyside diff --git a/src/search.cpp b/src/search.cpp index 4f943b4c..51d3ae8c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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;