URL:
https://svn.lrde.epita.fr/svn/oln/trunk/milena
ChangeLog:
2007-11-09 Guillaume Duhamel <guillaume.duhamel(a)lrde.epita.fr>
Fix bug for tree_to_image.
* mln/util/tree_to_image.hh: Remove println for debug.
* tests/tree_to_image.cc: Add includes.
---
mln/util/tree_to_image.hh | 2 --
tests/tree_to_image.cc | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
Index: trunk/milena/tests/tree_to_image.cc
===================================================================
--- trunk/milena/tests/tree_to_image.cc (revision 1458)
+++ trunk/milena/tests/tree_to_image.cc (revision 1459)
@@ -38,9 +38,11 @@
#include <mln/core/set_p.hh>
#include <mln/value/int_u8.hh>
#include <mln/level/stretch.hh>
+#include <mln/level/fill.hh>
#include <mln/io/pgm/save.hh>
#include <vector>
#include <mln/util/tree_to_image.hh>
+#include <mln/debug/println.hh>
template <typename P, typename V>
struct fllt_node
Index: trunk/milena/mln/util/tree_to_image.hh
===================================================================
--- trunk/milena/mln/util/tree_to_image.hh (revision 1458)
+++ trunk/milena/mln/util/tree_to_image.hh (revision 1459)
@@ -105,7 +105,6 @@
mln_piter(set_p<P>) p (s);
for_all (p)
out(p) = true;
- debug::println(out);
}
@@ -164,7 +163,6 @@
level::fill(output, false);
mln_assertion(node);
display_branch_rec(ima, node, output);
- debug::println(output);
}