re-init SEE values and LMR table on tuning | bench 1398874
This commit is contained in:
1 parent
13cb768c67
commit
cfcd24318b
4 files changed
+31
-6
No files matched your search
@@ -50,6 +50,19 @@ void InitLMRTable() {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef TUNING
|
||||
void InitSEEPieceValues() {
|
||||
SEEPieceValues = {
|
||||
seePawnValue, seeKnightValue, seeBishopValue, seeRookValue, seeQueenValue, 0
|
||||
};
|
||||
}
|
||||
|
||||
void RefreshTunableCaches() {
|
||||
InitLMRTable();
|
||||
InitSEEPieceValues();
|
||||
}
|
||||
#endif
|
||||
|
||||
int16_t ContHistory::GetNPly(Board& board, Move& move, SearchContext* ctx, int ply, int n) {
|
||||
int prevType = ctx->ss[ply-n].pieceType;
|
||||
int prevTo = ctx->ss[ply-n].moveTo;
|
||||
|
||||
Reference in new issue
Block a user