remove clang-format workaround

closes https://github.com/official-stockfish/Stockfish/pull/6332

No functional change
This commit is contained in:
Shawn Xu
2025-10-05 09:33:42 +02:00
committed by Joost VandeVondele
parent b09339a420
commit e5c2dc5edd
+1 -4
View File
@@ -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);