We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff112bd commit e995506Copy full SHA for e995506
1 file changed
search.cpp
@@ -472,7 +472,7 @@ Value doSearch(
472
std::clamp(session.historyHeuristic[(int)move.from()][(int)move.to()] + bonus, -16384, 16384);
473
int malus = 300 * depth - 250;
474
for (Move move_ : quietsSearched)
475
- if (m != move)
+ if (move_ != move)
476
session.historyHeuristic[(int)move_.from()][(int)move_.to()] =
477
std::clamp(session.historyHeuristic[(int)move_.from()][(int)move_.to()] - malus, -16384, 16384);
478
if (session.killerMoves[ply][0] != move) {
0 commit comments