Skip to content

Commit 9b93cfb

Browse files
authored
3.5.5: tune null move depth (#283)
http://chess.grantnet.us/test/32793/ ELO | 6.00 +- 3.79 (95%) SPRT | 10.0+0.10s Threads=1 Hash=8MB LLR | 2.97 (-2.94, 2.94) [0.00, 3.00] GAMES | N: 16504 W: 4362 L: 4077 D: 8065 http://chess.grantnet.us/test/32794/ ELO | 2.60 +- 2.07 (95%) SPRT | 60.0+0.60s Threads=1 Hash=64MB LLR | 2.95 (-2.94, 2.94) [0.00, 3.00] GAMES | N: 52904 W: 13200 L: 12804 D: 26900 bench: 19300902
1 parent 62b68ed commit 9b93cfb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ EVAL Search::abSearch(EVAL alpha, EVAL beta, int depth, int ply, bool isNull, bo
291291
// null move
292292
//
293293

294-
if (!isNull && depth >= 2 && bestScore >= beta && (!ttHit || !(hEntry.m_data.type == HASH_BETA) || ttScore >= beta) && m_position.NonPawnMaterial()) {
294+
if (!isNull && depth >= 3 && bestScore >= beta && (!ttHit || !(hEntry.m_data.type == HASH_BETA) || ttScore >= beta) && m_position.NonPawnMaterial()) {
295295
int R = 5 + depth / 6 + std::min(3, (bestScore - beta) / 100);
296296

297297
m_position.MakeNullMove();

src/uci.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include <iostream>
3232
#include <sstream>
3333

34-
const std::string VERSION = "3.5.4";
34+
const std::string VERSION = "3.5.5";
3535
const std::string ARCHITECTURE = " 64 "
3636

3737
#if _BTYPE==0

0 commit comments

Comments
 (0)