Commit f884a769 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

scribo/primitive/extract/lines_discontinued.hh: Add a missing call to exact().

parent 5963d6b5
2013-03-05 Guillaume Lazzara <z@lrde.epita.fr>
* scribo/primitive/extract/lines_discontinued.hh: Add a missing
call to exact().
2013-03-05 Guillaume Lazzara <z@lrde.epita.fr>
* scribo/primitive/extract/lines_discontinued.hh: Fix invalid line
......
......@@ -90,15 +90,17 @@ namespace scribo
void
lines_discontinued_tests(const Image<I>& input,
const Neighborhood<N>& nbh, V& nlines,
const Window<W>& win, unsigned rank_k)
const Window<W>& win_, unsigned rank_k)
{
mlc_equal(mln_value(I),bool)::check();
mlc_bool(mln_site_(I)::dim == 2)::check();
mlc_is_a(V, mln::value::Symbolic)::check();
const W& win = exact(win_);
mln_precondition(exact(input).is_valid());
mln_precondition(exact(nbh).is_valid());
mln_precondition(exact(win).is_valid());
mln_precondition(win.is_valid());
mln_precondition(win.length() > 2 * (rank_k + 1));
......
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