Skip to content

Commit 5dfb31b

Browse files
authored
Store TT entry in standing pat in qsearch (#297)
Elo | 3.28 +- 2.31 (95%) SPRT | 10.0+0.10s Threads=1 Hash=8MB LLR | 2.95 (-2.94, 2.94) [0.00, 3.00] Games | N: 27078 W: 7026 L: 6770 D: 13282 Penta | [232, 3140, 6555, 3364, 248] http://chess.grantnet.us/test/38172/ Elo | 1.78 +- 1.42 (95%) SPRT | 60.0+0.60s Threads=1 Hash=64MB LLR | 2.95 (-2.94, 2.94) [0.00, 3.00] Games | N: 58094 W: 14499 L: 14201 D: 29394 Penta | [143, 6582, 15332, 6814, 176] http://chess.grantnet.us/test/38173/ bench: 1363612
1 parent c970066 commit 5dfb31b

File tree

6 files changed

+13
-10
lines changed

6 files changed

+13
-10
lines changed

.github/workflows/build-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Igel Linux Build with CMake
33
on:
44
push:
55
branches:
6-
- master
6+
- '**'
77
pull_request:
88
branches:
9-
- master
9+
- '**'
1010
workflow_dispatch: # Allow manual triggering of the workflow
1111

1212
jobs:

.github/workflows/build-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Igel Windows Build with CMake
33
on:
44
push:
55
branches:
6-
- master
6+
- '**'
77
pull_request:
88
branches:
9-
- master
9+
- '**'
1010
workflow_dispatch: # Allow manual triggering of the workflow
1111

1212
jobs:

.github/workflows/ut-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Igel Linux Unit Tests with CMake
33
on:
44
push:
55
branches:
6-
- master
6+
- '**'
77
pull_request:
88
branches:
9-
- master
9+
- '**'
1010
workflow_dispatch: # Allow manual triggering of the workflow
1111

1212
jobs:

.github/workflows/ut-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Igel Windows Unit Tests with CMake
33
on:
44
push:
55
branches:
6-
- master
6+
- '**'
77
pull_request:
88
branches:
9-
- master
9+
- '**'
1010
workflow_dispatch: # Allow manual triggering of the workflow
1111

1212
jobs:

src/search.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,8 +591,11 @@ EVAL Search::qSearch(EVAL alpha, EVAL beta, int ply, int depth, bool isNull/* =
591591
bestScore = ttScore;
592592
}
593593

594-
if (bestScore >= beta)
594+
if (bestScore >= beta) {
595+
if (!ttHit)
596+
TTable::instance().record(0, bestScore, -5, ply, HASH_BETA, m_position.Hash());
595597
return bestScore;
598+
}
596599

597600
if (alpha < bestScore)
598601
alpha = bestScore;

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.6";
34+
const std::string VERSION = "3.5.7";
3535
const std::string ARCHITECTURE = " 64 "
3636

3737
#if _BTYPE==0

0 commit comments

Comments
 (0)