Skip to content

Commit

Permalink
fixing compiler error (strangely it compiled on ICC).
Browse files Browse the repository at this point in the history
  • Loading branch information
searchivairus committed Jan 29, 2018
1 parent c6ac418 commit b668436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion similarity_search/include/sort_arr_bi.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class SortArrBI {
}

void sort() {
if (!v.empty())
if (!v_.empty())
_mm_prefetch(&v_[0], _MM_HINT_T0);
std::sort(v_.begin(), v_.begin() + num_elems_);
}
Expand Down

0 comments on commit b668436

Please sign in to comment.