Skip to content

Commit

Permalink
===
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszbaran committed Oct 17, 2023
1 parent 7317d20 commit 3732499
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/groups/group.jl
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,9 @@ function is_point(
ie = is_identity(G, e; kwargs...)
if !ie
s = "The provided identity is not a point on $G."
(error == :error) && throw(DomainError(e, s))
(error == :info) && @info s
(error == :warn) && @warn s
(error === :error) && throw(DomainError(e, s))
(error === :info) && @info s
(error === :warn) && @warn s
end
return ie
end
Expand Down

0 comments on commit 3732499

Please sign in to comment.