Skip to content

Commit

Permalink
add the AsSet to the test rather than the method
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianrun-Y committed Jul 2, 2024
1 parent 073e25a commit d8dd7e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gap/attributes/attr.gi
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ function(S, a)
Add(inverses, f * s * e);
od;
od;
return AsSet(inverses);
return inverses;
end);

# TODO implement OneInverseOfSemigroupElement
Expand Down
2 changes: 1 addition & 1 deletion tst/standard/ideals/ideals.tst
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ gap> I := SemigroupIdeal(S,
> Matrix(IsBooleanMat, [[1, 0, 1], [0, 0, 0], [0, 1, 0]]),
> Matrix(IsBooleanMat, [[0, 1, 1], [0, 1, 1], [1, 0, 1]]));;
gap> x := Matrix(IsBooleanMat, [[1, 0, 1], [0, 1, 0], [1, 0, 1]]);;
gap> InversesOfSemigroupElement(I, x);
gap> AsSet(InversesOfSemigroupElement(I, x));
[ Matrix(IsBooleanMat, [[0, 0, 0], [0, 1, 0], [0, 0, 1]]),
Matrix(IsBooleanMat, [[0, 0, 0], [0, 1, 0], [1, 0, 0]]),
Matrix(IsBooleanMat, [[0, 0, 0], [0, 1, 0], [1, 0, 1]]),
Expand Down

0 comments on commit d8dd7e1

Please sign in to comment.