Skip to content

Commit

Permalink
Remove unused set_visits().
Browse files Browse the repository at this point in the history
Was only used by the removed TTable code.
  • Loading branch information
gcp committed Feb 15, 2018
1 parent 2051a5c commit e1d9b19
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/UCTNode.cpp
Expand Up @@ -256,10 +256,6 @@ bool UCTNode::has_children() const {
return m_has_children;
}

void UCTNode::set_visits(int visits) {
m_visits = visits;
}

float UCTNode::get_score() const {
return m_score;
}
Expand Down
1 change: 0 additions & 1 deletion src/UCTNode.h
Expand Up @@ -56,7 +56,6 @@ class UCTNode {
void set_score(float score);
float get_eval(int tomove) const;
double get_blackevals() const;
void set_visits(int visits);
void accumulate_eval(float eval);
void virtual_loss(void);
void virtual_loss_undo(void);
Expand Down

0 comments on commit e1d9b19

Please sign in to comment.