Skip to content

Commit 9cdf328

Browse files
committed
Allow 4D masks
1 parent 533885b commit 9cdf328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/sh2peaks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class DataLoader { MEMALIGN(DataLoader)
135135
item.pos[2] = sh.index(2);
136136

137137
if (mask.valid())
138-
assign_pos_of(sh).to(mask);
138+
assign_pos_of(sh,0,3).to(mask);
139139
if (mask.valid() && !mask.value()) {
140140
for (auto l = Loop(3) (sh); l; ++l)
141141
item.data[sh.index(3)] = NaN;

0 commit comments

Comments
 (0)