From 9aa15f96e190a75e42e44123a3195a79f0161e84 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 5 May 2024 15:11:07 +0200 Subject: [PATCH] fixed a crash with irregular spherical maps --- sphere.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sphere.cpp b/sphere.cpp index 1d7968e2..2585e911 100644 --- a/sphere.cpp +++ b/sphere.cpp @@ -178,6 +178,7 @@ struct hrmap_spherical : hrmap_standard { } transmatrix relative_matrixc(cell *c2, cell *c1, const hyperpoint& hint) override { + if(IRREGULAR) return relative_matrix_via_masters(c2, c1, hint); transmatrix T = iso_inverse(get_where(c1)) * get_where(c2); if(elliptic) fixelliptic(T); return T;