Skip to content

Commit 1995031

Browse files
committed
rm unnecessary test
1 parent 1ee4550 commit 1995031

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

base/math.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ function _evalpoly(x, p)
112112
N = length(p)
113113
@inbounds p0 = N == 0 ? reduce_empty_iter(+, p) : p[N]
114114
s = oftype(one(x) * p0, p0)
115-
N <= 1 && return s
116115
for i in N-1:-1:1
117116
@inbounds s = muladd(x, s, p[i])
118117
end

0 commit comments

Comments
 (0)