Remove Redundant Cast in MovePicker

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

No functional change
This commit is contained in:
FauziAkram
2026-04-19 07:18:02 +02:00
committed by Joost VandeVondele
parent 95f3680080
commit cc4637b52b
+1 -1
View File
@@ -167,7 +167,7 @@ ExtMove* MovePicker::score(const MoveList<Type>& ml) {
m.value += (*continuationHistory[5])[pc][to];
// bonus for checks
m.value += (bool(pos.check_squares(pt) & to) && pos.see_ge(m, -75)) * 16384;
m.value += ((pos.check_squares(pt) & to) && pos.see_ge(m, -75)) * 16384;
// penalty for moving to a square threatened by a lesser piece
// or bonus for escaping an attack by a lesser piece.