Skip to content
Permalink
Browse files

Complete restructuring take 4. Bench: 2977509.

  • Loading branch information...
Stefano80 committed Mar 15, 2019
1 parent 2c1fb67 commit 1af416cea7fb8f8cd6b83c329b6db9a7ecb14618
Showing with 2 additions and 2 deletions.
  1. +2 −2 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);

0 comments on commit 1af416c

Please sign in to comment.
You can’t perform that action at this time.