diff options
Diffstat (limited to 'tests/validation/CPP/GaussianPyramidHalf.cpp')
-rw-r--r-- | tests/validation/CPP/GaussianPyramidHalf.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/validation/CPP/GaussianPyramidHalf.cpp b/tests/validation/CPP/GaussianPyramidHalf.cpp index 18d3daa288..0a68dedaee 100644 --- a/tests/validation/CPP/GaussianPyramidHalf.cpp +++ b/tests/validation/CPP/GaussianPyramidHalf.cpp @@ -51,7 +51,8 @@ std::vector<SimpleTensor<T>> gaussian_pyramid_half(const SimpleTensor<T> &src, B const SimpleTensor<T> out_gaus5x5 = reference::gaussian5x5(dst[i - 1], border_mode, constant_border_value); // Scale down by 2 with nearest interpolation - const SimpleTensor<T> out = reference::scale(out_gaus5x5, SCALE_PYRAMID_HALF, SCALE_PYRAMID_HALF, InterpolationPolicy::NEAREST_NEIGHBOR, border_mode, constant_border_value, true); + const SimpleTensor<T> out = reference::scale(out_gaus5x5, SCALE_PYRAMID_HALF, SCALE_PYRAMID_HALF, InterpolationPolicy::NEAREST_NEIGHBOR, border_mode, constant_border_value, SamplingPolicy::CENTER, + true); dst.push_back(out); } |