Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
init() is no longer used, and was previously replaced by the clear
function.

fixes #4981

No functional change
  • Loading branch information
Disservin committed Jan 13, 2024
1 parent eec361f commit cf5b070
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/search.h
Expand Up @@ -48,8 +48,6 @@ class UCI;

namespace Search {

// Called at startup to initialize various lookup tables, after program startup
void init(int);

// Stack struct keeps track of the information we need to remember from nodes
// shallower and deeper in the tree during the search. Each search thread has
Expand Down Expand Up @@ -176,6 +174,7 @@ class Worker {
public:
Worker(SharedState&, std::unique_ptr<ISearchManager>, size_t);

// Called at instantiation to initialize Reductions tables
// Reset histories, usually before a new game
void clear();

Expand Down

0 comments on commit cf5b070

Please sign in to comment.