From f4a596ed878b41ebff488d2db50aa717bbeca286 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 22 Sep 2020 15:51:15 +0200 Subject: [PATCH] gp::INVERSE:: relative_matrix now works correctly --- goldberg.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/goldberg.cpp b/goldberg.cpp index dc6ae24e..ef86e6ac 100644 --- a/goldberg.cpp +++ b/goldberg.cpp @@ -1121,6 +1121,14 @@ EX namespace gp { return c; } + transmatrix relative_matrix(heptagon *h2, heptagon *h1, const hyperpoint& hint) override { + return in_underlying([&] { return currentmap->relative_matrix(h2, h1, hint); }); + } + + transmatrix relative_matrix(cell *c2, cell *c1, const hyperpoint& hint) override { + return in_underlying([&] { return currentmap->relative_matrix(c2, c1, hint); }); + } + ~hrmap_inverse() { in_underlying([this] { delete underlying_map; }); }