From 3f32112937c53bfe65e067c20c94ca39e690059c Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 25 Aug 2022 01:06:49 +0200 Subject: [PATCH] reg3:: do not call generate_fulls more than needed --- geometry.cpp | 2 ++ reg3.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/geometry.cpp b/geometry.cpp index 60666931..08bcf789 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -585,6 +585,8 @@ void geometry_information::prepare_basics() { heptshape = nullptr; + xp_order = 0; + if(arcm::in() && !prod) ginf[gArchimedean].cclass = gcHyperbolic; diff --git a/reg3.cpp b/reg3.cpp index db48a559..6aaec2d0 100644 --- a/reg3.cpp +++ b/reg3.cpp @@ -2748,6 +2748,7 @@ EX int matrix_order(const transmatrix A) { EX void generate_fulls() { reg3::generate_cellrotations(); + if(cgi.xp_order) return; auto cons = [&] (int i0, int i1, int i2) { transmatrix T = build_matrix(cgi.adjmoves[ 0]*C0, cgi.adjmoves[ 1]*C0, cgi.adjmoves[ 2]*C0, C0);