URL:
https://svn.lrde.epita.fr/svn/oln/trunk/milena
ChangeLog:
2007-10-11 Guillaume Duhamel <guillaume.duhamel(a)lrde.epita.fr>
Fix bug in translate_image.
* translate_image.hh: Fix.
---
translate_image.hh | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
Index: trunk/milena/mln/core/translate_image.hh
===================================================================
--- trunk/milena/mln/core/translate_image.hh (revision 1315)
+++ trunk/milena/mln/core/translate_image.hh (revision 1316)
@@ -76,18 +76,18 @@
typedef trait::image::category::domain_morpher category;
-// typedef mln_trait_image_access_from(I) access;
-// typedef mln_trait_image_space_from(I) space;
-// typedef mln_trait_image_size_from(I) size;
-// typedef mln_trait_image_support_from(I) support;
-
-// typedef mln_trait_image_border_from(I) border;
- typedef mln_trait_image_data_from(I) data;
- typedef mln_trait_image_io_from(I) io;
-// typedef mln_trait_image_speed_from(I) speed;
+// typedef mln_trait_image_access(I)() access;
+// typedef mln_trait_image_space(I)() space;
+// typedef mln_trait_image_size(I)() size;
+// typedef mln_trait_image_support(I)() support;
+
+// typedef mln_trait_image_border(I)() border;
+// typedef mln_trait_image_data(I)() data;
+// typedef mln_trait_image_io(I)() io;
+// typedef mln_trait_image_speed(I)() speed;
-// typedef mln_trait_image_io_from_(I) io;
-// typedef mln_trait_image_data_from_(I) data;
+ typedef mln_trait_image_io_from_(I) io;
+ typedef mln_trait_image_data_from_(I) data;
};
@@ -106,6 +106,7 @@
{
typedef mln::internal::image_morpher_< I, mln_pset(I), translate_image<I>
> super_;
+ typedef line_piter_<mln_psite(I)> line_piter;
/// Return type of read-write access.
typedef typename internal::morpher_lvalue_<I>::ret lvalue;