Skip to content

Commit

Permalink
Update chebyshev_approx_functions.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
RJDennis committed Nov 25, 2022
1 parent b414201 commit 4a85887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chebyshev_approx_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function chebyshev_extended(n::S,domain = [1.0,-1.0]) where {S <: Integer}
nodes[end-i+1] = -x
end

return (domain[1]+domain[2])*0.5 .+ nodes*((domain[1]-domain[2])*0.5)/cos/(2N))
return (domain[1]+domain[2])*0.5 .+ nodes*((domain[1]-domain[2])*0.5)/cos/(2n))

end

Expand Down

0 comments on commit 4a85887

Please sign in to comment.