Skip to content

Commit 069362e

Browse files
authored
Update movepick.cpp
1 parent e60c4a2 commit 069362e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

movepick.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace engine::movepick {
2424
else if (move == killerMoves[ply][1])
2525
score = 8000;
2626
else
27-
score = historyHeuristic[move.from().index()][move.to().index()];
27+
score = historyHeuristic[move.from()][move.to()];
2828

2929
scoredMoves.emplace_back(move, score);
3030
}

0 commit comments

Comments
 (0)