Skip to content

Commit

Permalink
Compilation fix related to pull request #252
Browse files Browse the repository at this point in the history
  • Loading branch information
searchivairus committed Nov 30, 2017
1 parent 5e6da2c commit 9fe5b21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions similarity_search/src/method/hnsw.cc
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ namespace similarity {

ElList_.resize(totalElementsStored_);
for (unsigned id = 0; id < totalElementsStored_; ++id) {
ElList_[id] = new HnswNode(data_[id], id);
ElList_[id] = new HnswNode(this->data_[id], id);
}

enterpoint_ = ElList_[enterpointId_];
Expand Down Expand Up @@ -926,7 +926,7 @@ namespace similarity {

ElList_.resize(totalElementsStored_);
for (unsigned id = 0; id < totalElementsStored_; ++id) {
ElList_[id] = new HnswNode(data_[id], id);
ElList_[id] = new HnswNode(this->data_[id], id);
}

enterpoint_ = ElList_[enterpointId_];
Expand Down

0 comments on commit 9fe5b21

Please sign in to comment.