Skip to content

Commit

Permalink
core/misc/voxel2vector.h: Fix compilation
Browse files Browse the repository at this point in the history
Resolves changes made to fix unfreed memory in mrmath in #2784 against removal of MR::vector in #2764.
  • Loading branch information
Lestropie committed Feb 21, 2024
1 parent a41514d commit 4a51096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/misc/voxel2vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ class Voxel2Vector {
Image<index_t> forward;
std::vector<std::vector<index_t>> reverse;

vector<index_t> pos() const {
vector<index_t> result;
std::vector<index_t> pos() const {
std::vector<index_t> result;
for (size_t index = 0; index != forward.ndim(); ++index)
result.push_back(forward.index(index));
return result;
Expand Down

0 comments on commit 4a51096

Please sign in to comment.