Skip to content

Commit d05e2da

Browse files
committed
Fix function call line split in debug.jl
Fix unnecessarily split function call in DomainError hint registration. Line length reduced to 123 characters, improving readability. Following Catalyst.jl PR #1306 guidelines. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent fb73106 commit d05e2da

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/debug.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@ expression. Two common reasons for this issue are:
5858

5959
function __init__()
6060
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)
61+
if e isa DomainError && occursin("will only return a complex result if called with a complex argument. Try ", e.msg)
6562
println(io, DOMAINERROR_COMPLEX_MSG)
6663
end
6764
end

0 commit comments

Comments
 (0)