We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb73106 + d05e2da commit 5edf434Copy full SHA for 5edf434
src/debug.jl
@@ -58,10 +58,7 @@ expression. Two common reasons for this issue are:
58
59
function __init__()
60
Base.Experimental.register_error_hint(DomainError) do io, e
61
- if e isa DomainError &&
62
- occursin(
63
- "will only return a complex result if called with a complex argument. Try ",
64
- e.msg)
+ if e isa DomainError && occursin("will only return a complex result if called with a complex argument. Try ", e.msg)
65
println(io, DOMAINERROR_COMPLEX_MSG)
66
end
67
0 commit comments