* mln/io/off/save.hh
(save(const bin_2complex_image3df&, const std::string&)):
Swap the positions of the number of edges and number of faces in
the written file.
---
milena/ChangeLog | 9 +++++++++
milena/mln/io/off/save.hh | 4 ++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index f6299c9..6bf9126 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,14 @@
2008-10-23 Roland Levillain <roland(a)lrde.epita.fr>
+ Fix a bug in OFF file saving.
+
+ * mln/io/off/save.hh
+ (save(const bin_2complex_image3df&, const std::string&)):
+ Swap the positions of the number of edges and number of faces in
+ the written file.
+
+2008-10-23 Roland Levillain <roland(a)lrde.epita.fr>
+
Remove seldom used macros mln_face and mln_face_.
* mln/core/macros.hh (mln_face, mln_face_): Remove macros.
diff --git a/milena/mln/io/off/save.hh b/milena/mln/io/off/save.hh
index eba2aeb..dce42fd 100644
--- a/milena/mln/io/off/save.hh
+++ b/milena/mln/io/off/save.hh
@@ -113,8 +113,8 @@ namespace mln
ima.nfaces<0>().
*/
ostr << ima.domain().cplx().nfaces<0>() << ' '
- << ima.domain().cplx().nfaces<1>() << ' '
- << ima.domain().cplx().nfaces<2>() << std::endl;
+ << ima.domain().cplx().nfaces<2>() << ' '
+ << ima.domain().cplx().nfaces<1>() << std::endl;
/*-------.
| Data. |
--
1.5.6.5
Show replies by date