From 4e1abe964fe4a54e38a2a347ee17bc8966a25e25 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 5 Oct 2019 15:34:07 +0200 Subject: [PATCH] print for horo_distance --- geometry2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/geometry2.cpp b/geometry2.cpp index 7a19b532..2f60bf5f 100644 --- a/geometry2.cpp +++ b/geometry2.cpp @@ -211,6 +211,7 @@ struct horo_distance { horo_distance(hyperpoint h) { become(h); } horo_distance(hyperpoint h1, const transmatrix& T); bool operator < (const horo_distance z) const; + friend void print(hstream& hs, horo_distance x) { print(hs, "[", x.a, ":", x.b, "]"); } }; #endif