reg3:: do not call generate_fulls more than needed

This commit is contained in:
Zeno Rogue 2022-08-25 01:06:49 +02:00
parent a439b16602
commit 3f32112937
2 changed files with 3 additions and 0 deletions

View File

@ -585,6 +585,8 @@ void geometry_information::prepare_basics() {
heptshape = nullptr;
xp_order = 0;
if(arcm::in() && !prod)
ginf[gArchimedean].cclass = gcHyperbolic;

View File

@ -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);