Merge official-stockfish/master
authorFabian Fichter <ianfab@users.noreply.github.com>
Mon, 21 Dec 2020 10:48:05 +0000 (11:48 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Mon, 21 Dec 2020 10:48:05 +0000 (11:48 +0100)
bench: 4073348

1  2 
src/evaluate.cpp
src/evaluate.h
src/movepick.cpp
src/movepick.h
src/search.cpp
src/thread.cpp
src/thread.h

Simple merge
diff --cc src/evaluate.h
Simple merge
@@@ -109,10 -105,11 +109,11 @@@ void MovePicker::score() 
  
        else if (Type == QUIETS)
            m.value =      (*mainHistory)[pos.side_to_move()][from_to(m)]
+                    +     (*staticHistory)[pos.side_to_move()][from_to(m)]
 -                   + 2 * (*continuationHistory[0])[pos.moved_piece(m)][to_sq(m)]
 -                   + 2 * (*continuationHistory[1])[pos.moved_piece(m)][to_sq(m)]
 -                   + 2 * (*continuationHistory[3])[pos.moved_piece(m)][to_sq(m)]
 -                   +     (*continuationHistory[5])[pos.moved_piece(m)][to_sq(m)]
 +                   + 2 * (*continuationHistory[0])[history_slot(pos.moved_piece(m))][to_sq(m)]
 +                   + 2 * (*continuationHistory[1])[history_slot(pos.moved_piece(m))][to_sq(m)]
 +                   + 2 * (*continuationHistory[3])[history_slot(pos.moved_piece(m))][to_sq(m)]
 +                   +     (*continuationHistory[5])[history_slot(pos.moved_piece(m))][to_sq(m)]
                     + (ply < MAX_LPH ? std::min(4, depth / 3) * (*lowPlyHistory)[ply][from_to(m)] : 0);
  
        else // Type == EVASIONS
diff --cc src/movepick.h
Simple merge
diff --cc src/search.cpp
Simple merge
diff --cc src/thread.cpp
Simple merge
diff --cc src/thread.h
Simple merge