From d1352a8c089e8760a1c282b5bf54fd40947df4a7 Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Sun, 30 Aug 2026 12:02:21 -0300 Subject: [PATCH] Tweak wording --- src/device/quirks.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device/quirks.jl b/src/device/quirks.jl index 767a85e98..6743626ac 100644 --- a/src/device/quirks.jl +++ b/src/device/quirks.jl @@ -1,7 +1,7 @@ # math.jl @static if isdefined(Base.Math, :throw_finite_domainerror) @device_override @noinline Base.Math.throw_finite_domainerror(f::Symbol, x) = - @gputhrow "DomainError" "(x) is only defined for finite x." + @gputhrow "DomainError" "function is only defined for finite x." end @device_override @noinline Base.Math.throw_complex_domainerror(f::Symbol, x) = @gputhrow "DomainError" "This operation requires a complex input to return a complex result"