X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;fp=src%2Fevaluate.cpp;h=ea54e271390e68e5a0f65cbb63537628ef0fd6d9;hp=959ccd8431cfba2e96cdf98ccfed8f1119c8cc62;hb=474d133565564146ec28878afca54739cc4e22d2;hpb=e8fca713424e814756e2db4a7195f69fdb669c2a diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 959ccd84..ea54e271 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -713,10 +713,10 @@ namespace { int complexity = 9 * pe->passed_count() + 11 * pos.count() + 9 * outflanking - + 18 * pawnsOnBothFlanks - + 49 * !pos.non_pawn_material() - - 36 * almostUnwinnable - -103 ; + + 21 * pawnsOnBothFlanks + + 51 * !pos.non_pawn_material() + - 43 * almostUnwinnable + - 95 ; // Now apply the bonus: note that we find the attacking side by extracting the // sign of the midgame or endgame values, and that we carefully cap the bonus