mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
remove clang-format workaround
closes https://github.com/official-stockfish/Stockfish/pull/6332 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
b09339a420
commit
e5c2dc5edd
+1
-4
@@ -585,10 +585,7 @@ Value Search::Worker::search(
|
||||
|
||||
// Dive into quiescence search when the depth reaches zero
|
||||
if (depth <= 0)
|
||||
{
|
||||
constexpr auto nt = PvNode ? PV : NonPV;
|
||||
return qsearch<nt>(pos, ss, alpha, beta);
|
||||
}
|
||||
return qsearch<PvNode ? PV : NonPV>(pos, ss, alpha, beta);
|
||||
|
||||
// Limit the depth if extensions made it too large
|
||||
depth = std::min(depth, MAX_PLY - 1);
|
||||
|
||||
Reference in New Issue
Block a user