Skip to content

Commit

Permalink
small EXEC_ENV_OLS bug fix (#387)
Browse files Browse the repository at this point in the history
* small bug fix

* test ubuntu fail

* formatting

* re-triggering unitest
  • Loading branch information
jinwei14 authored Jul 5, 2023
1 parent 775a9e9 commit 051df41
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -503,10 +503,8 @@ size_t Index<T, TagT, LabelT>::load_data(std::string filename)
}

#ifdef EXEC_ENV_OLS

// REFACTOR TODO: Must figure out how to support aligned reader in a clean
// manner.
copy_aligned_data_from_file<T>(reader, _data, file_num_points, file_dim, _aligned_dim);
// REFACTOR TODO: Must figure out how to support aligned reader in a clean manner.
copy_aligned_data_from_file<T>(reader, _data, file_num_points, file_dim, _data_store->get_aligned_dim());
#else
_data_store->load(filename); // offset == 0.
#endif
Expand Down

0 comments on commit 051df41

Please sign in to comment.