Skip to content

Commit

Permalink
Changed order of processes to improve performance
Browse files Browse the repository at this point in the history
  • Loading branch information
tillman-froehlich committed Jul 24, 2024
1 parent 74396f1 commit 4e0431a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gap/attributes/isomorph.gi
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ function(R, S)
rmsS := S;
fi;

rmsR := CanonicalReesMatrixSemigroup(rmsR);
uR := UnderlyingSemigroup(rmsR);
uS := UnderlyingSemigroup(rmsS);

Expand Down Expand Up @@ -165,6 +164,7 @@ function(R, S)

# Make sure underlying groups are the same, and then compare
# canonical Rees matrix semigroups of both R and S
rmsR := CanonicalReesMatrixSemigroup(rmsR);
rmsS := ReesMatrixSemigroup(uR, mat);
rmsS := CanonicalReesMatrixSemigroup(rmsS);
return Matrix(rmsR) = Matrix(rmsS);
Expand Down

0 comments on commit 4e0431a

Please sign in to comment.