1
0
Fork 0

Merge branch 'official-stockfish:master' into feature/add_cpu_uci_command_and_runtime_info

pull/3602/head
JackWright347 2021-07-26 18:09:45 +02:00 committed by GitHub
commit 5fa16fd834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 14 deletions

View File

@ -39,7 +39,7 @@ namespace Eval {
// The default net name MUST follow the format nn-[SHA256 first 12 digits].nnue
// for the build process (profile-build and fishtest) to work. Do not change the
// name of the macro, as it is used in the Makefile.
#define EvalFileDefaultName "nn-76a8a7ffb820.nnue"
#define EvalFileDefaultName "nn-26abeed38351.nnue"
namespace NNUE {

View File

@ -1159,21 +1159,18 @@ moves_loop: // When in check, search starts from here
if (cutNode && move != ss->killers[0])
r += 2;
if (!captureOrPromotion)
{
// Increase reduction if ttMove is a capture (~3 Elo)
if (ttCapture)
r++;
// Increase reduction if ttMove is a capture (~3 Elo)
if (ttCapture)
r++;
ss->statScore = thisThread->mainHistory[us][from_to(move)]
+ (*contHist[0])[movedPiece][to_sq(move)]
+ (*contHist[1])[movedPiece][to_sq(move)]
+ (*contHist[3])[movedPiece][to_sq(move)]
- 4923;
ss->statScore = thisThread->mainHistory[us][from_to(move)]
+ (*contHist[0])[movedPiece][to_sq(move)]
+ (*contHist[1])[movedPiece][to_sq(move)]
+ (*contHist[3])[movedPiece][to_sq(move)]
- 4923;
// Decrease/increase reduction for moves with a good/bad history (~30 Elo)
r -= ss->statScore / 14721;
}
// Decrease/increase reduction for moves with a good/bad history (~30 Elo)
r -= ss->statScore / 14721;
// In general we want to cap the LMR depth search at newDepth. But if
// reductions are really negative and movecount is low, we allow this move