mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 01:03:09 +00:00
Never clear stats
Based on an idea and patch by VoyagerOne. Small simplification, but was tedted for an ELO gain anyway. STC: LLR: 2.95 (-2.94,2.94) [-1.00,4.00] Total: 5375 W: 1119 L: 977 D: 3279 LTC: LLR: 2.95 (-2.94,2.94) [0.00,5.00] Total: 17893 W: 2984 L: 2792 D: 12117 bench 8322847
This commit is contained in:
parent
7231b18af1
commit
946fa47625
2 changed files with 0 additions and 6 deletions
|
@ -21,7 +21,6 @@
|
|||
#define MOVEPICK_H_INCLUDED
|
||||
|
||||
#include <algorithm> // For std::max
|
||||
#include <cstring> // For std::memset
|
||||
|
||||
#include "movegen.h"
|
||||
#include "position.h"
|
||||
|
@ -44,7 +43,6 @@ struct Stats {
|
|||
|
||||
const T* operator[](Piece pc) const { return table[pc]; }
|
||||
T* operator[](Piece pc) { return table[pc]; }
|
||||
void clear() { std::memset(table, 0, sizeof(table)); }
|
||||
|
||||
void update(Piece pc, Square to, Move m) {
|
||||
|
||||
|
|
|
@ -339,10 +339,6 @@ namespace {
|
|||
beta = VALUE_INFINITE;
|
||||
|
||||
TT.new_search();
|
||||
History.clear();
|
||||
CounterMovesHistory.clear();
|
||||
Gains.clear();
|
||||
Countermoves.clear();
|
||||
|
||||
size_t multiPV = Options["MultiPV"];
|
||||
Skill skill(Options["Skill Level"]);
|
||||
|
|
Loading…
Add table
Reference in a new issue