Skip to content

Commit

Permalink
Complete restructuring take 4. Bench: 2977509.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano80 committed Mar 15, 2019
1 parent 2c1fb67 commit 1af416c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/search.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit 1af416c

Please sign in to comment.