diff --git a/include/GooseEYE/dilate.hpp b/include/GooseEYE/dilate.hpp index 35e6624d..f7f3a4dd 100644 --- a/include/GooseEYE/dilate.hpp +++ b/include/GooseEYE/dilate.hpp @@ -108,7 +108,6 @@ dilate(const T& f, const S& kernel, const array_type::tensor& iterati pad_mode = xt::pad_mode::periodic; } - auto shape = f.shape(); array_type::tensor K = xt::atleast_3d(kernel); auto Pad = detail::pad_width(K); array_type::tensor F = xt::pad(xt::atleast_3d(f), Pad, pad_mode, pad_value);