Skip to content

Commit

Permalink
Changed name for vertesi_nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
RJDennis committed Jun 1, 2021
1 parent bf5684a commit b4d4b55
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ChebyshevApprox"
uuid = "17a596ad-87cd-578c-9b6d-01108c31dc04"
authors = ["Richard Dennis <richard.dennis@glasgow.ac.uk>"]
version = "0.1.11"
version = "0.1.12"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
4 changes: 2 additions & 2 deletions src/ChebyshevApprox.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include("structures.jl")
include("chebyshev_nodes.jl")
include("chebyshev_extrema.jl")
include("chebyshev_extended.jl")
include("chebyshev_vertesi.jl")
include("vertesi_nodes.jl")
include("normalize_node.jl")
include("chebyshev_polynomial.jl")
include("chebyshev_weights.jl")
Expand All @@ -24,7 +24,7 @@ export ChebPoly,
export chebyshev_nodes,
chebyshev_extrema,
chebyshev_extended,
chebyshev_vertesi,
vertesi_nodes,
chebyshev_polynomial,
chebyshev_weights,
chebyshev_weights_extrema,
Expand Down
2 changes: 1 addition & 1 deletion src/chebyshev_vertesi.jl → src/vertesi_nodes.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function chebyshev_vertesi(n::S,domain = [1.0,-1.0]) where {S <: Integer}
function vertesi_nodes(n::S,domain = [1.0,-1.0]) where {S <: Integer}

if n <= 0
error("The number of nodes must be positive.")
Expand Down
2 changes: 1 addition & 1 deletion test/test_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dom = [2.0,-3.0]
nodesr = chebyshev_nodes(n,dom)
nodese = chebyshev_extrema(n,dom)
nodesex = chebyshev_extended(n,dom)
nodesv = chebyshev_vertesi(n,dom)
nodesv = vertesi_nodes(n,dom)

yr = zeros(n)
ye = zeros(n)
Expand Down
6 changes: 3 additions & 3 deletions test/test_4d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ nodesr_2 = chebyshev_nodes(n2,dom_2)
nodesr_3 = chebyshev_nodes(n3,dom_3)
nodesr_4 = chebyshev_nodes(n4,dom_4)
nodesv_1 = chebyshev_vertesi(n1,dom_1)
nodesv_2 = chebyshev_vertesi(n2,dom_2)
nodesv_3 = chebyshev_vertesi(n3,dom_3)
nodesv_4 = chebyshev_vertesi(n4,dom_4)
nodesv_2 = vertesi_nodes(n2,dom_2)
nodesv_3 = vertesi_nodes(n3,dom_3)
nodesv_4 = vertesi_nodes(n4,dom_4)

yr = zeros(n1,n2,n3,n4)
yv = zeros(n1,n2,n3,n4)
Expand Down
10 changes: 5 additions & 5 deletions test/test_5d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ nodesex_2 = chebyshev_extended(n2,dom_2)
nodesex_3 = chebyshev_extended(n3,dom_3)
nodesex_4 = chebyshev_extended(n4,dom_4)
nodesex_5 = chebyshev_extended(n5,dom_5)
nodesv_1 = chebyshev_vertesi(n1,dom_1)
nodesv_2 = chebyshev_vertesi(n2,dom_2)
nodesv_3 = chebyshev_vertesi(n3,dom_3)
nodesv_4 = chebyshev_vertesi(n4,dom_4)
nodesv_5 = chebyshev_vertesi(n5,dom_5)
nodesv_1 = vertesi_nodes(n1,dom_1)
nodesv_2 = vertesi_nodes(n2,dom_2)
nodesv_3 = vertesi_nodes(n3,dom_3)
nodesv_4 = vertesi_nodes(n4,dom_4)
nodesv_5 = vertesi_nodes(n5,dom_5)

yr = zeros(n1,n2,n3,n4,n5)
ye = zeros(n1,n2,n3,n4,n5)
Expand Down

0 comments on commit b4d4b55

Please sign in to comment.