From c28766d0fa2cb69df6e0652cb6c0b26eb8002761 Mon Sep 17 00:00:00 2001 From: SzilBalazs Date: Sun, 10 Sep 2023 10:24:44 +0200 Subject: [PATCH] Use conthist for move ordering Bench: 10222659 --- src/search/move_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search/move_list.h b/src/search/move_list.h index 4f9a554..5c883d0 100644 --- a/src/search/move_list.h +++ b/src/search/move_list.h @@ -106,7 +106,7 @@ namespace search { } else if (move == history.counter_moves[last_move.get_from()][last_move.get_to()]) { return MOVE_SCORE_COUNTER; } else { - return history.butterfly[move.get_from()][move.get_to()]; + return history.get_history(move, ss); } } };