Commit 9a84a00e authored by Roland Levillain's avatar Roland Levillain
Browse files

Small fix in breadth-first thinning.

	* mln/topo/skeleton/breadth_first_thinning.hh: Do not try to
	detach an aldready processed site.
parent faeffbfa
2010-09-15 Roland Levillain <roland@lrde.epita.fr>
Small fix in breadth-first thinning.
* mln/topo/skeleton/breadth_first_thinning.hh: Do not try to
detach an aldready processed site.
2010-09-09 Roland Levillain <roland@lrde.epita.fr>
 
Make the 5th argument of breadth_first_thinning truly optional.
......@@ -148,7 +148,7 @@ namespace mln
internal state and make side effects, meaning that
e.g. constraint(p) might not be constant for a
given p during the thinning. */
if (constraint(p) && is_simple(p))
if (output(p) && constraint(p) && is_simple(p))
{
detach(p, output);
mln_niter(N) n_(nbh, p);
......
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