File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1105,7 +1105,7 @@ Value Eval::evaluate(const Position& pos) {
11051105 Value psq = Value (abs (eg_value (pos.psq_score ())));
11061106 int r50 = 16 + pos.rule50_count ();
11071107 bool largePsq = psq * 16 > (NNUEThreshold1 + pos.non_pawn_material () / 64 ) * r50;
1108- bool classical = largePsq || (psq > PawnValueMg / 4 && !(pos. this_thread ()-> nodes & 0xB )) ;
1108+ bool classical = largePsq;
11091109
11101110 // Use classical evaluation for really low piece endgames.
11111111 // One critical case is the draw for bishop + A/H file pawn vs naked king.
@@ -1122,8 +1122,7 @@ Value Eval::evaluate(const Position& pos) {
11221122 && !lowPieceEndgame
11231123 && ( abs (v) * 16 < NNUEThreshold2 * r50
11241124 || ( pos.opposite_bishops ()
1125- && abs (v) * 16 < (NNUEThreshold1 + pos.non_pawn_material () / 64 ) * r50
1126- && !(pos.this_thread ()->nodes & 0xB ))))
1125+ && abs (v) * 16 < (NNUEThreshold1 + pos.non_pawn_material () / 64 ) * r50)))
11271126 v = adjusted_NNUE ();
11281127 }
11291128
You can’t perform that action at this time.
0 commit comments