From 031b5285ed88a00728a33d7f103039381cbc1b06 Mon Sep 17 00:00:00 2001 From: rektdie Date: Tue, 16 Dec 2025 06:23:25 +0100 Subject: [PATCH] 2ply conthist | bench 3966908 --- source/search.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/search.cpp b/source/search.cpp index df6e9c8..81489f8 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -77,11 +77,10 @@ static int ScoreMove(Board &board, Move &move, int ply, SearchContext* ctx) { if (ply > 0) { conthistScore = ctx->conthist.GetNPly(board, move, ctx, ply, 1); - /* + if (ply > 1) { - conthistScore += ctx->conthist.GetTwoPly(board, move, ctx, ply); + conthistScore = ctx->conthist.GetNPly(board, move, ctx, ply, 2); } - */ } return 20000 + historyScore + conthistScore;