Skip to content

Commit 41a69fd

Browse files
NHDalyDrvi
andauthored
Apply suggestions from code review
Co-authored-by: Tomáš Drvoštěp <tomas.drvostep@gmail.com>
1 parent d119dce commit 41a69fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FixedPointDecimals.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ for remfn in [:rem, :mod]
447447
@eval Base.$(Symbol("checked_$remfn"))(x::T, y::T) where {T <: FD} = $remfn(x, y)
448448
end
449449

450-
_throw_overflowerr_op(op, x::T, y::T) where T = throw(OverflowError("$op($x, $y) overflowed for type $T"))
450+
@noinline _throw_overflowerr_op(op, x::T, y::T) where T = throw(OverflowError("$op($x, $y) overflowed for type $T"))
451451

452452
function Base.checked_neg(x::T) where {T<:FD}
453453
r = -x

0 commit comments

Comments
 (0)