* mln/make/image3d.hh (mln::make::image3d(const util::array<I>&)):
Here.
---
milena/ChangeLog | 7 +++++++
milena/mln/make/image3d.hh | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 27ca3b9..9521314 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,12 @@
2009-06-03 Roland Levillain <roland(a)lrde.epita.fr>
+ Fix a static precondition in mln::make::image3d.
+
+ * mln/make/image3d.hh (mln::make::image3d(const util::array<I>&)):
+ Here.
+
+2009-06-03 Roland Levillain <roland(a)lrde.epita.fr>
+
* headers.mk: Regen.
2009-06-03 Roland Levillain <roland(a)lrde.epita.fr>
diff --git a/milena/mln/make/image3d.hh b/milena/mln/make/image3d.hh
index d68853f..87f6d05 100644
--- a/milena/mln/make/image3d.hh
+++ b/milena/mln/make/image3d.hh
@@ -71,7 +71,7 @@ namespace mln
mln::image3d<mln_value(I)>
image3d(const util::array<I>& ima)
{
- mlc_is_a(mln_domain(I), mln::box2d)::check();
+ mlc_equal(mln_domain(I), mln::box2d)::check();
mln_precondition(! ima.is_empty());
def::coord n_slices = ima.nelements();
--
1.6.1.2