From dbeec1b9c62d823482e2876b51d8247e99a8cc1e Mon Sep 17 00:00:00 2001 From: rektdie Date: Mon, 28 Jul 2025 23:37:02 +0200 Subject: [PATCH] removed cutnode from SE | bench 27398493 --- source/benchmark.h | 2 +- source/search.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/source/benchmark.h b/source/benchmark.h index 9e63d41..3f083f5 100644 --- a/source/benchmark.h +++ b/source/benchmark.h @@ -1,6 +1,6 @@ #pragma once #include -constexpr int BENCH_DEPTH = 11; +constexpr int BENCH_DEPTH = 16; void RunBenchmark(); diff --git a/source/search.cpp b/source/search.cpp index d78ef1c..124448e 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -467,8 +467,6 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC if (score < sBeta) extension = 1; - else if (cutnode) - extension = -2; } // PVS SEE