Skip to content

Commit

Permalink
locations can remain non-mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
Cleveland committed Aug 26, 2021
1 parent e06a99d commit 1dc4122
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/kde/quick_index.hh
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ public:
const std::array<double, 3> sphere_center;
const size_t coarse_bin_resolution;
const double max_window_size;
// keep a mutable copy of the locations (can be change to spherical)
std::vector<std::array<double, 3>> locations;
const std::vector<std::array<double, 3>> locations;
const size_t n_locations;

// Global bounds
Expand Down

0 comments on commit 1dc4122

Please sign in to comment.