Skip to content

Commit

Permalink
Update chebyshev_weights.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
RJDennis committed Apr 27, 2021
1 parent fea1eb4 commit a510a83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/chebyshev_weights.jl
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function chebyshev_weights_extrema(f::AbstractArray{T,N},nodes::NTuple{N,Array{T
poly = Array{Array{T,2},1}(undef,N)

@inbounds for i = 1:N
poly[i] = chebyshev_polynomial(order[i],normalize_node(nodes[i],domain[:,i]))
poly[i] = chebyshev_polynomial(order,normalize_node(nodes[i],domain[:,i]))
end

ord = (order,)
Expand Down Expand Up @@ -493,7 +493,7 @@ function chebyshev_weights_threaded(f::AbstractArray{T,N},nodes::NTuple{N,Array{
poly = Array{Array{T,2},1}(undef,N)

@inbounds for i = 1:N
poly[i] = chebyshev_polynomial(order[i],normalize_node(nodes[i],domain[:,i]))
poly[i] = chebyshev_polynomial(order,normalize_node(nodes[i],domain[:,i]))
end

ord = (order,)
Expand Down Expand Up @@ -542,7 +542,7 @@ function chebyshev_weights_extrema_threaded(f::AbstractArray{T,N},nodes::NTuple{
poly = Array{Array{T,2},1}(undef,N)

@inbounds for i = 1:N
poly[i] = chebyshev_polynomial(order[i],normalize_node(nodes[i],domain[:,i]))
poly[i] = chebyshev_polynomial(order,normalize_node(nodes[i],domain[:,i]))
end

ord = (order,)
Expand Down

0 comments on commit a510a83

Please sign in to comment.