URL:
https://svn.lrde.org/svn/oln/trunk/milena
ChangeLog:
2007-10-26 Simon Nivault <simon.nivault(a)lrde.epita.fr>
Fix on tree for compiling, and Fix in fllt.
* mln/util/tree.hh,
* mln/util/tree_fast.hh,
* sandbox/garrigues/fllt.hh: Fix.
---
mln/util/tree.hh | 2 ++
mln/util/tree_fast.hh | 2 ++
sandbox/garrigues/fllt.hh | 4 +---
3 files changed, 5 insertions(+), 3 deletions(-)
Index: trunk/milena/mln/util/tree_fast.hh
===================================================================
--- trunk/milena/mln/util/tree_fast.hh (revision 1389)
+++ trunk/milena/mln/util/tree_fast.hh (revision 1390)
@@ -29,6 +29,8 @@
# define MLN_UTIL_TREE_FAST_HH
# include <vector>
+# include <iostream>
+
# include <mln/core/contract.hh>
/*!
Index: trunk/milena/mln/util/tree.hh
===================================================================
--- trunk/milena/mln/util/tree.hh (revision 1389)
+++ trunk/milena/mln/util/tree.hh (revision 1390)
@@ -30,6 +30,8 @@
# include <vector>
+# include <mln/core/contract.hh>
+
/*!
* \file mln/util/tree.hh
*
Index: trunk/milena/sandbox/garrigues/fllt.hh
===================================================================
--- trunk/milena/sandbox/garrigues/fllt.hh (revision 1389)
+++ trunk/milena/sandbox/garrigues/fllt.hh (revision 1390)
@@ -249,11 +249,9 @@
current_region->content().value = g;
for_all(p)
{
- if (regions(p) == 0)
- {
current_region->content().points.insert(p);
+ if (regions(p) == 0)
regions(p) = current_region;
- }
else
{
if (regions(p)->get_parent() == 0)