Skip to content

Commit 6f00bb3

Browse files
committed
Fixed typo in legendre_nodes()
1 parent bc2bd04 commit 6f00bb3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ChebyshevApprox"
22
uuid = "17a596ad-87cd-578c-9b6d-01108c31dc04"
33
authors = ["Richard Dennis <richard.dennis@glasgow.ac.uk>"]
4-
version = "0.3.1"
4+
version = "0.3.2"
55

66
[deps]
77
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

src/chebyshev_approx_functions.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function legendre_nodes(N::S, domain=[1.0, -1.0]) where {S<:Integer}
169169
end
170170

171171
if N == 1
172-
point[1] = (domain[1] + domain[2]) * 0.5
172+
points[1] = (domain[1] + domain[2]) * 0.5
173173
return points
174174
else
175175
points[begin] = -1.0

0 commit comments

Comments
 (0)