Skip to content

Commit e1f6b87

Browse files
authored
Merge branch 'official-stockfish:master' into TM_Change_2
2 parents 8b67b7e + fc41f64 commit e1f6b87

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

src/evaluate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Value evaluate(const Position& pos, int optimism);
3939
// The default net name MUST follow the format nn-[SHA256 first 12 digits].nnue
4040
// for the build process (profile-build and fishtest) to work. Do not change the
4141
// name of the macro, as it is used in the Makefile.
42-
#define EvalFileDefaultNameBig "nn-baff1edbea57.nnue"
42+
#define EvalFileDefaultNameBig "nn-b1a57edbea57.nnue"
4343
#define EvalFileDefaultNameSmall "nn-baff1ede1f90.nnue"
4444

4545
struct EvalFile {

src/search.cpp

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -621,13 +621,6 @@ Value Search::Worker::search(
621621
update_continuation_histories(ss - 1, pos.piece_on(prevSq), prevSq,
622622
-stat_malus(depth + 1));
623623
}
624-
// Penalty for a quiet ttMove that fails low (~1 Elo)
625-
else if (!ttCapture)
626-
{
627-
int penalty = -stat_malus(depth);
628-
thisThread->mainHistory[us][ttMove.from_to()] << penalty;
629-
update_continuation_histories(ss, pos.moved_piece(ttMove), ttMove.to_sq(), penalty);
630-
}
631624
}
632625

633626
// Partial workaround for the graph history interaction problem
@@ -1105,9 +1098,9 @@ Value Search::Worker::search(
11051098
thisThread->nodes.fetch_add(1, std::memory_order_relaxed);
11061099
pos.do_move(move, st, givesCheck);
11071100

1108-
// Decrease reduction if position is or has been on the PV (~5 Elo)
1101+
// Decrease reduction if position is or has been on the PV (~7 Elo)
11091102
if (ss->ttPv)
1110-
r -= 1 + (ttValue > alpha) + (ttValue > beta && tte->depth() >= depth);
1103+
r -= 1 + (ttValue > alpha) + (tte->depth() >= depth);
11111104

11121105
// Increase reduction for cut nodes (~4 Elo)
11131106
if (cutNode)
@@ -1118,7 +1111,7 @@ Value Search::Worker::search(
11181111
r++;
11191112

11201113
// Decrease reduction for PvNodes (~3 Elo)
1121-
if (PvNode && tte->bound() != BOUND_UPPER)
1114+
if (PvNode)
11221115
r--;
11231116

11241117
// Increase reduction on repetition (~1 Elo)

0 commit comments

Comments
 (0)