diff --git a/fourindex.h b/fourindex.h index d87b376..e30925b 100644 --- a/fourindex.h +++ b/fourindex.h @@ -539,7 +539,7 @@ ostream& operator<<(ostream &s, const fourindex_ext &x) int n; n=x.size(); s << n << '\n'; - typename fourindex::iterator it=x.begin(); + typename fourindex_ext::iterator it=x.begin(); while(it!=x.end()) { s << (typename LA_traits_io::IOtype)it->index.indiv.i << ' ' << (typename LA_traits_io::IOtype)it->index.indiv.j<< ' ' <<(typename LA_traits_io::IOtype)it->index.indiv.k << ' ' << (typename LA_traits_io::IOtype)it->index.indiv.l << ' ' << (typename LA_traits_io::IOtype) it->elem << '\n';