Skip to content

Commit

Permalink
Fixing compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tdegeus committed Nov 23, 2023
1 parent 0c7e6ca commit 0ee16d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/GooseEYE/dilate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ dilate(const T& f, const S& kernel, const array_type::tensor<size_t, 1>& iterati
pad_mode = xt::pad_mode::periodic;
}

auto shape = f.shape();
array_type::tensor<typename S::value_type, 3> K = xt::atleast_3d(kernel);
auto Pad = detail::pad_width(K);
array_type::tensor<value_type, 3> F = xt::pad(xt::atleast_3d(f), Pad, pad_mode, pad_value);
Expand Down

0 comments on commit 0ee16d7

Please sign in to comment.