Skip to content

Commit 1b1882b

Browse files
authored
Merge branch 'master' into remove_copy_ptr
2 parents f8aa79d + 5800036 commit 1b1882b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/filter/resize.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ namespace MR
157157
switch (interp_type) {
158158
case 0:
159159
// Prevent use of oversampling when using nearest-neighbour interpolation
160-
reslice <Interp::Nearest> (input, output, transformation, oversampling, oob);
160+
reslice <Interp::Nearest> (input, output, transformation, {1, 1, 1}, oob);
161161
break;
162162
case 1:
163163
reslice <Interp::Linear> (input, output, transformation, oversampling, oob);

0 commit comments

Comments
 (0)