dirs_adjacent to S7 not 12

This commit is contained in:
Zeno Rogue 2020-05-28 01:51:28 +02:00
parent 5a57031269
commit 7a4f573e34
1 changed files with 3 additions and 3 deletions

View File

@ -249,10 +249,10 @@ EX namespace reg3 {
compute_ultra();
for(int a=0; a<12; a++)
for(int b=0; b<12; b++)
for(int a=0; a<S7; a++)
for(int b=0; b<S7; b++)
if(cgi.dirs_adjacent[a][b])
for(int c=0; c<12; c++)
for(int c=0; c<S7; c++)
if(cgi.dirs_adjacent[a][c] && cgi.dirs_adjacent[b][c]) {
transmatrix t = build_matrix(tC0(cgi.adjmoves[a]), tC0(cgi.adjmoves[b]), tC0(cgi.adjmoves[c]), C0);
if(det(t) > 1e-3) cgi.next_dir[a][b] = c;