diff --git a/hprint.cpp b/hprint.cpp index 7c115475..6fcb5982 100644 --- a/hprint.cpp +++ b/hprint.cpp @@ -211,6 +211,8 @@ struct comma_printer { template void print(hstream& hs, const array& a) { print(hs, "("); comma_printer c(hs); for(const T& t: a) c(t); print(hs, ")"); } template void print(hstream& hs, const vector& a) { print(hs, "("); comma_printer c(hs); for(const T& t: a) c(t); print(hs, ")"); } +template void print(hstream& hs, const map& a) { print(hs, "("); comma_printer c(hs); for(auto& t: a) c(t); print(hs, ")"); } + inline void print(hstream& hs, const hyperpoint h) { print(hs, (const array&)h); } inline void print(hstream& hs, const transmatrix T) { print(hs, "("); comma_printer c(hs);