URL:
https://svn.lrde.epita.fr/svn/oln/trunk/milena
ChangeLog:
2007-12-12 Guillaume Duhamel <guillaume.duhamel(a)lrde.epita.fr>
Fix bug for saturate.
* mln/fun/v2v/saturate.hh: Fix needs_update in mutable.
---
saturate.hh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Index: trunk/milena/mln/fun/v2v/saturate.hh
===================================================================
--- trunk/milena/mln/fun/v2v/saturate.hh (revision 1606)
+++ trunk/milena/mln/fun/v2v/saturate.hh (revision 1607)
@@ -62,7 +62,7 @@
protected:
V min_, max_;
- bool needs_update_;
+ mutable bool needs_update_;
};
@@ -101,7 +101,6 @@
{
min_W = mln::value::cast<W>(min_);
max_W = mln::value::cast<W>(max_);
- // FIXME
needs_update_ = false;
}