]> git.sesse.net Git - stockfish/commitdiff
Merge Joona's bishop+pawn tweak
authorMarco Costalba <mcostalba@gmail.com>
Fri, 19 Apr 2013 07:31:18 +0000 (09:31 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 19 Apr 2013 07:36:00 +0000 (09:36 +0200)
The idea is to penalize a bishop in case of
its pawns are on the same colored squares.

Good at short 15"+0.05 TC
LLR: 2.95 (-2.94,2.94)
Total: 4252 W: 925 L: 806 D: 2521

And at longer 60"+0.05 TC
LLR: 2.95 (-2.94,2.94)
Total: 15006 W: 2743 L: 2564 D: 9699

bench: 5274705

src/search.cpp

index 055ee8778be9ac8bfb8beaed1b727b54784bdbbf..1fe895d3cf576e66e622a3767decd3eceac138a5 100644 (file)
@@ -857,7 +857,7 @@ split_point_start: // At split points actual search starts from here
           && !captureOrPromotion
           && !inCheck
           && !dangerous
-          &&  move != ttMove
+       /* &&  move != ttMove Already implicit in the next condition */
           &&  bestValue > VALUE_MATED_IN_MAX_PLY)
       {
           // Move count based pruning