Skip to content

Commit

Permalink
Update base/math.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Neven Sajko <[email protected]>
  • Loading branch information
stevengj and nsajko committed Jan 2, 2025
1 parent 9df2b24 commit 1d42f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/math.jl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function _evalpoly(x, p)
@inbounds p0 = N == 0 ? reduce_empty_iter(+, p) : p[N]
s = oftype(one(x) * p0, p0)
for i in N-1:-1:1
@inbounds s = muladd(x, s, p[i])
s = muladd(x, s, @inbounds p[i])
end
return s
end
Expand Down

0 comments on commit 1d42f4e

Please sign in to comment.