Skip to content

Commit

Permalink
twiikg.
Browse files Browse the repository at this point in the history
bench 3673565
  • Loading branch information
Vizvezdenec committed Sep 11, 2019
1 parent 07ac27e commit 739d1b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/evaluate.cpp
Expand Up @@ -730,8 +730,8 @@ namespace {
+ 49 * !pos.non_pawn_material() + 49 * !pos.non_pawn_material()
-103 ; -103 ;


if (complexity < 0) if (complexity < -50)
scaleFactorCorrection = (-16 * complexity) / (50 - complexity); scaleFactorCorrection = (12 * (complexity + 50)) / complexity;


// Now apply the bonus: note that we find the attacking side by extracting // Now apply the bonus: note that we find the attacking side by extracting
// the sign of the endgame value, and that we carefully cap the bonus so // the sign of the endgame value, and that we carefully cap the bonus so
Expand Down

0 comments on commit 739d1b6

Please sign in to comment.