Commit 8735fca5 authored by Michaël Roynard's avatar Michaël Roynard
Browse files

Fix experimental::imcast

parent 9e9cbd4f
......@@ -31,7 +31,7 @@ namespace mln
template <class I, class V>
using casted_image = transform_view<I, internal::cast_to<V>>;
template <class IntputImage, class V>
template <class V, class IntputImage>
casted_image<IntputImage, V> imcast(IntputImage ima);
} // namespace experimental
......@@ -72,7 +72,7 @@ namespace mln
namespace experimental
{
template <class IntputImage, class V>
template <class V, class IntputImage>
casted_image<IntputImage, V> imcast(IntputImage ima)
{
return view::transform(std::move(ima), internal::cast_to<V>{});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment