---
milena/ChangeLog | 4 ++++
milena/mln/core/image/vertex_image.hh | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 2902026..5c629c1 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-08 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ * mln/core/image/vertex_image.hh: Fix invalid construction.
+
2011-09-07 Guillaume Lazzara <z(a)lrde.epita.fr>
Add comments.
diff --git a/milena/mln/core/image/vertex_image.hh
b/milena/mln/core/image/vertex_image.hh
index 9ad31a7..d50f826 100644
--- a/milena/mln/core/image/vertex_image.hh
+++ b/milena/mln/core/image/vertex_image.hh
@@ -215,7 +215,7 @@ namespace mln
operator | (const fun::i2v::array<V>& vertex_values,
const p_vertices<G, fun::i2v::array<P> >& pv)
{
- vertex_image<P,V,G> tmp(vertex_values, pv);
+ vertex_image<P,V,G> tmp(pv, vertex_values);
return tmp;
}
--
1.7.2.5