---
milena/ChangeLog | 4 ++++
milena/tests/topo/complex.cc | 8 ++++----
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index d5309e4..44b8b7a 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,9 @@
2008-09-26 Roland Levillain <roland(a)lrde.epita.fr>
+ * tests/topo/complex.cc (test_static_n_face_iter): Aesthetic changes.
+
+2008-09-26 Roland Levillain <roland(a)lrde.epita.fr>
+
Add iterators on n-faces (with a dynamically known `n').
* mln/topo/n_face_iter.hh: New.
diff --git a/milena/tests/topo/complex.cc b/milena/tests/topo/complex.cc
index 16099f5..59d6047 100644
--- a/milena/tests/topo/complex.cc
+++ b/milena/tests/topo/complex.cc
@@ -321,10 +321,10 @@ test_static_n_face_iter(topo::complex<D>& c)
/* FIXME: Provide sugar. Maybe redefined mln_fwd_fiter and
mln_bkd_fiter so that they expand as complex_faces_iters (instead
of faces_iters). */
- topo::static_n_face_fwd_iter<N, D> fwd_ncf(c);
- topo::static_n_face_bkd_iter<N, D> bkd_ncf(c);
- for_all_2(fwd_ncf, bkd_ncf)
- std::cout << fwd_ncf << ' ' << bkd_ncf << std::endl;
+ topo::static_n_face_fwd_iter<N, D> fwd_nf(c);
+ topo::static_n_face_bkd_iter<N, D> bkd_nf(c);
+ for_all_2(fwd_nf, bkd_nf)
+ std::cout << fwd_nf << ' ' << bkd_nf << std::endl;
std::cout << std::endl;
}
--
1.6.0.1
Show replies by date