mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 10:57:43 +00:00
Skip a redundant check
Spotted by Joona No functional change.
This commit is contained in:
+1
-1
@@ -857,7 +857,7 @@ split_point_start: // At split points actual search starts from here
|
|||||||
&& !captureOrPromotion
|
&& !captureOrPromotion
|
||||||
&& !inCheck
|
&& !inCheck
|
||||||
&& !dangerous
|
&& !dangerous
|
||||||
&& move != ttMove
|
/* && move != ttMove Already implicit in the next condition */
|
||||||
&& bestValue > VALUE_MATED_IN_MAX_PLY)
|
&& bestValue > VALUE_MATED_IN_MAX_PLY)
|
||||||
{
|
{
|
||||||
// Move count based pruning
|
// Move count based pruning
|
||||||
|
|||||||
Reference in New Issue
Block a user