Skip to content

Commit 5a4b4b3

Browse files
committed
fix typo
1 parent f857848 commit 5a4b4b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chebyshev.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function chbevl(x::Union{Float32, Float64}, coeff)
66
for i in 2:length(coeff)
77
b2 = b1
88
b1 = b0
9-
b0 = muladd(x, b1, b2) + coeff[i]
9+
b0 = muladd(x, b1, -b2) + coeff[i]
1010
end
1111

1212
return (b0 - b2)/2

0 commit comments

Comments
 (0)