We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f888ea commit 441f970Copy full SHA for 441f970
Project.toml
@@ -1,6 +1,6 @@
1
name = "ApproxFunOrthogonalPolynomials"
2
uuid = "b70543e2-c0d9-56b8-a290-0d4d6d4de211"
3
-version = "0.6.34"
+version = "0.6.35"
4
5
[deps]
6
ApproxFunBase = "fbd15aa5-315a-5a7d-a8a4-24992e37be05"
src/Spaces/Chebyshev/ChebyshevOperators.jl
@@ -84,7 +84,7 @@ function _getindex_eval_leftendpoint(op::ConcreteEvaluation{<:Chebyshev{<:Interv
84
85
ret = Array{T}(undef, n)
86
for (ind, j) in enumerate(k)
87
- ret[ind]=(-1)^(p+1)*(-one(T))^j
+ ret[ind] = iseven(p+j) ? -1 : 1
88
end
89
90
for m in 0:p-1
0 commit comments