Commit e9c085e0 authored by Roland Levillain's avatar Roland Levillain
Browse files

Fix two errors in mln::topo::skeleton::breadth_first_thinning.

	* mln/topo/skeleton/breadth_first_thinning.hh: Remove a stray
	semicolon at the end of a `for' statement.
	Create psite using the right iterator.
parent 959b10e6
2010-08-18 Roland Levillain <roland@lrde.epita.fr>
Fix two errors in mln::topo::skeleton::breadth_first_thinning.
* mln/topo/skeleton/breadth_first_thinning.hh: Remove a stray
semicolon at the end of a `for' statement.
Create psite using the right iterator.
2010-07-28 Roland Levillain <roland@lrde.epita.fr>
 
Disable the last test case in test-mesh-complex-pinv-curv-skel.
......@@ -115,20 +115,11 @@ namespace mln
{
set_t next_set;
/* FIXME: Using the following code does not work (it does
compiles, but does not behave like the code using a
hand-made loop). There must be a bug somewhere in
p_set or p_indexed_psite. */
# if 0
mln_piter(set_t) ps(set);
for_all(ps);
for_all(ps)
{
// Same remark as above.
psite p = p_;
# endif
for (unsigned i = 0; i < set.nsites(); ++i)
{
psite p = set[i];
// Same remark as above.
psite p = ps;
/* FIXME: We compute the cell and attachment of P twice:
during the call to is_simple() and within detach().
......
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