diff --git a/src/search.c b/src/search.c index 1ce989e8..b604c692 100644 --- a/src/search.c +++ b/src/search.c @@ -433,7 +433,7 @@ void updateMinorCorrectionHistory(board *position, const int depth, const int di } void updateMajorCorrectionHistory(board *position, const int depth, const int diff) { - U64 majorKey = generateMajorKey(position); + U64 majorKey = position->majorKey; int entry = MAJOR_CORRECTION_HISTORY[position->side][majorKey % CORRHIST_SIZE];