From 1af416cea7fb8f8cd6b83c329b6db9a7ecb14618 Mon Sep 17 00:00:00 2001 From: Stefano Cardanobile Date: Fri, 15 Mar 2019 07:52:43 +0100 Subject: [PATCH] Complete restructuring take 4. Bench: 2977509. --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index b86ee3beed2..d3a146fcca8 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1071,8 +1071,8 @@ namespace { features[3] = float(cutNode); prediction = thisThread->infer(features); - if (thisThread->perceptronAccuracy > 4800) - r -= prediction * ONE_PLY; + if (thisThread->perceptronAccuracy > 4700) + r -= prediction * ONE_PLY * (thisThread->perceptronAccuracy - 4600) / 100; Depth d = std::max(newDepth - std::max(r, DEPTH_ZERO), ONE_PLY);