From 864daad97a7bf42fe19c1162b28fe4633f9d6f0e Mon Sep 17 00:00:00 2001 From: ThomasBreuer Date: Fri, 11 Oct 2024 17:19:40 +0200 Subject: [PATCH] address a comment --- src/Groups/GAPGroups.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Groups/GAPGroups.jl b/src/Groups/GAPGroups.jl index 2475d290d11..68152aa1ddf 100644 --- a/src/Groups/GAPGroups.jl +++ b/src/Groups/GAPGroups.jl @@ -373,7 +373,7 @@ end Base.:*(x::GAPGroupElem, y::GAPGroupElem) = _prod(x, y) function ==(x::GAPGroup, y::GAPGroup) - _check_compatible(x, y; error = false) || throw(ArgumentError("x and y are not compatible")) + _check_compatible(x, y) return GapObj(x) == GapObj(y) end @@ -382,7 +382,7 @@ end # in the sense of `_check_compatible`, # and compare the `GapObj`s if this is the case. function ==(x::BasicGAPGroupElem, y::BasicGAPGroupElem) - _check_compatible(parent(x), parent(y); error = false) || throw(ArgumentError("parents of x and y are not compatible")) + _check_compatible(parent(x), parent(y)) return GapObj(x) == GapObj(y) end