Skip to content

Commit

Permalink
v1.0 compliance with range
Browse files Browse the repository at this point in the history
  • Loading branch information
jverzani committed Apr 7, 2020
1 parent ca8e4cc commit 2831c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ChebyshevT.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ end
end

@testset "Roots $i" for i in 1:5
roots = cos.(range(-π, 0, length = 2i + 1)[2:2:end])
roots = cos.(range(-π, stop=0, length = 2i + 1)[2:2:end])
target = ChebyshevT(vcat(zeros(i), 1))
res = fromroots(ChebyshevT, roots) .* 2^(i - 1)
@test res == target
Expand Down

0 comments on commit 2831c82

Please sign in to comment.