Skip to content

Commit

Permalink
Similar update for exp_domainerror
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod authored Apr 1, 2024
1 parent c91dc62 commit 4c073c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quirks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end
# math.jl
@device_override @noinline Base.Math.throw_complex_domainerror(f::Symbol, x) =
@print_and_throw c"This operation requires a complex input to return a complex result"
@device_override @noinline Base.Math.throw_exp_domainerror(f::Symbol, x) =
@device_override @noinline Base.Math.throw_exp_domainerror(x) =
@print_and_throw c"Exponentiation yielding a complex result requires a complex argument"

# intfuncs.jl
Expand Down

0 comments on commit 4c073c4

Please sign in to comment.