We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08af6f0 commit cedf5deCopy full SHA for cedf5de
src/specialfunctions.jl
@@ -73,7 +73,7 @@ macro clenshaw(x, c...)
73
a = :(muladd(t, $a, $(esc(c[k]))-$b))
74
b = :($ak)
75
end
76
- ex = Expr(:block, as..., :(muladd($x, $a, $(esc(c[1]))-$b)))
+ ex = Expr(:block, as..., :(muladd($(esc(x)), $a, $(esc(c[1]))-$b)))
77
Expr(:block, :(t = $(esc(2))*$(esc(x))), ex)
78
79
0 commit comments