* mln/core/site_set/complex_psite.hh
(operator<<(std::ostream&, const complex_psite<D, P>&)): Here.
---
milena/ChangeLog | 7 +++++++
milena/mln/core/site_set/complex_psite.hh | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 641ceda..cf00b66 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,12 @@
2008-10-01 Roland Levillain <roland(a)lrde.epita.fr>
+ Delegate pretty-printing of complex_psite<D> to topo::face<D>.
+
+ * mln/core/site_set/complex_psite.hh
+ (operator<<(std::ostream&, const complex_psite<D, P>&)): Here.
+
+2008-10-01 Roland Levillain <roland(a)lrde.epita.fr>
+
Fix mln::topo::complex_psite<D, P> conversion to topo::face<D>.
* mln/core/site_set/complex_psite.hh
diff --git a/milena/mln/core/site_set/complex_psite.hh
b/milena/mln/core/site_set/complex_psite.hh
index fdff939..1fe3ccc 100644
--- a/milena/mln/core/site_set/complex_psite.hh
+++ b/milena/mln/core/site_set/complex_psite.hh
@@ -363,7 +363,7 @@ namespace mln
std::ostream&
operator<<(std::ostream& ostr, const complex_psite<D, P>& p)
{
- return ostr << "(dim = " << p.n() << ", id = "
<< p.face_id() << ')';
+ return ostr << p.face();
}
# endif // ! MLN_INCLUDE_ONLY
--
1.6.0.1
Show replies by date