* mln/inner_border/extend.hh,
* mln/inner_border/fill.hh: Here.
---
milena/ChangeLog | 7 +++++++
milena/mln/inner_border/extend.hh | 2 +-
milena/mln/inner_border/fill.hh | 2 +-
3 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 8b0ef22..cc55293 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,12 @@
2012-10-25 Guillaume Lazzara <z(a)lrde.epita.fr>
+ Fix preconditions.
+
+ * mln/inner_border/extend.hh,
+ * mln/inner_border/fill.hh: Here.
+
+2012-10-25 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Add tests for inner_border routines.
* tests/Makefile.am: Add inner_border subdir.
diff --git a/milena/mln/inner_border/extend.hh b/milena/mln/inner_border/extend.hh
index d5172a2..08c1901 100644
--- a/milena/mln/inner_border/extend.hh
+++ b/milena/mln/inner_border/extend.hh
@@ -59,7 +59,7 @@ namespace mln
extend(const Image<I>& input_, unsigned inner_border_size)
{
trace::entering("mln::inner_border::extend");
- mln_precondition(exact(input).is_valid());
+ mln_precondition(exact(input_).is_valid());
const I& input = exact(input_);
box2d b = input.domain(), bb = b;
diff --git a/milena/mln/inner_border/fill.hh b/milena/mln/inner_border/fill.hh
index 8f669df..57c6ed6 100644
--- a/milena/mln/inner_border/fill.hh
+++ b/milena/mln/inner_border/fill.hh
@@ -62,7 +62,7 @@ namespace mln
const mln_value(I)& value)
{
trace::entering("mln::inner_border::fill");
- mln_precondition(exact(input).is_valid());
+ mln_precondition(exact(input_).is_valid());
I& input = exact(input_);
mln_piter(I) p(input.domain());
--
1.7.2.5