Skip to content

Commit 1d42f4e

Browse files
stevengjnsajko
andcommitted
Update base/math.jl
Co-authored-by: Neven Sajko <s@purelymail.com>
1 parent 9df2b24 commit 1d42f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/math.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function _evalpoly(x, p)
113113
@inbounds p0 = N == 0 ? reduce_empty_iter(+, p) : p[N]
114114
s = oftype(one(x) * p0, p0)
115115
for i in N-1:-1:1
116-
@inbounds s = muladd(x, s, p[i])
116+
s = muladd(x, s, @inbounds p[i])
117117
end
118118
return s
119119
end

0 commit comments

Comments
 (0)