Skip to content

Commit

Permalink
fixed syntax errors in the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBreuer committed Aug 2, 2023
1 parent 99c97cc commit a109fac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Groups/GrpAb.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function is_conjugate(G::GrpAbFinGen, H::GrpAbFinGen, K::GrpAbFinGen)
is_subgroup(H, K)[1] && is_subgroup(K, H)[1]
end

function is_conjugate_with_data(G(G::GrpAbFinGen, H::GrpAbFinGen, K::GrpAbFinGen)
function is_conjugate_with_data(G::GrpAbFinGen, H::GrpAbFinGen, K::GrpAbFinGen)
if is_subgroup(H, K)[1] && is_subgroup(K, H)[1]
return true, zero(G)
else
Expand Down
2 changes: 1 addition & 1 deletion src/Groups/gsets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ julia> is_conjugate_with_data(Omega, 1, 5)
```
"""
function is_conjugate_with_data(G(Omega::GSet, omega1, omega2)
function is_conjugate_with_data(Omega::GSet, omega1, omega2)
# We do not call GAP's 'RepresentativeAction' with points, generators,
# and actors.
# The method in question would create a new 'ExternalSet' object
Expand Down
4 changes: 2 additions & 2 deletions test/Groups/GrpAb.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ end
@test acting_group(cc[1]) == G1
for x in gens(G1), y in gens(G1)
@test is_conjugate(G1, x, y) == (x == y)
@test is_conjugate_with_data_in_gl_or_sl(G1, x, y)[1] == (x == y)
@test is_conjugate_with_data(G1, x, y)[1] == (x == y)
end
C = cc[1]
for H in C
Expand All @@ -95,7 +95,7 @@ end
H = representative(C1)
K = representative(C2)
@test is_conjugate(G1, H, K) == (H == K)
@test is_conjugate_with_data_in_gl_or_sl(G1, H, K)[1] == (H == K)
@test is_conjugate_with_data(G1, H, K)[1] == (H == K)
@test is_conjugate_subgroup(G1, H, K) == is_subgroup(K, H)[1]
end
C = CC[1]
Expand Down

0 comments on commit a109fac

Please sign in to comment.