diff --git a/src/movepick.h b/src/movepick.h index 44fc51f6..423a6a18 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -21,7 +21,6 @@ #define MOVEPICK_H_INCLUDED #include // For std::max -#include // 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) { diff --git a/src/search.cpp b/src/search.cpp index 18e0cb95..9c7190be 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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"]);