Commit af6991f2 authored by Edwin Carlinet's avatar Edwin Carlinet
Browse files

Allow bool conversion output in saturate

parent 338ebe78
Pipeline #12366 failed with stages
in 26 seconds
......@@ -58,7 +58,7 @@ namespace mln
static_assert(std::is_convertible<mln_value(I), bool>::value,
"Input image value type must be convertible to bool");
static_assert(std::is_same<mln_value(J), bool>::value, "Output image value type must be bool");
static_assert(std::is_convertible<bool, mln_value(J)>::value, "Output image value type must be bool");
mln::fill(out, true);
extension::fill(out, false);
......
Markdown is supported
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