reg3:: do not call generate_fulls more than needed
This commit is contained in:
parent
a439b16602
commit
3f32112937
|
@ -585,6 +585,8 @@ void geometry_information::prepare_basics() {
|
||||||
|
|
||||||
heptshape = nullptr;
|
heptshape = nullptr;
|
||||||
|
|
||||||
|
xp_order = 0;
|
||||||
|
|
||||||
if(arcm::in() && !prod)
|
if(arcm::in() && !prod)
|
||||||
ginf[gArchimedean].cclass = gcHyperbolic;
|
ginf[gArchimedean].cclass = gcHyperbolic;
|
||||||
|
|
||||||
|
|
1
reg3.cpp
1
reg3.cpp
|
@ -2748,6 +2748,7 @@ EX int matrix_order(const transmatrix A) {
|
||||||
|
|
||||||
EX void generate_fulls() {
|
EX void generate_fulls() {
|
||||||
reg3::generate_cellrotations();
|
reg3::generate_cellrotations();
|
||||||
|
if(cgi.xp_order) return;
|
||||||
|
|
||||||
auto cons = [&] (int i0, int i1, int i2) {
|
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);
|
transmatrix T = build_matrix(cgi.adjmoves[ 0]*C0, cgi.adjmoves[ 1]*C0, cgi.adjmoves[ 2]*C0, C0);
|
||||||
|
|
Loading…
Reference in New Issue