Skip to content

Commit 2831c82

Browse files
committed
v1.0 compliance with range
1 parent ca8e4cc commit 2831c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ChebyshevT.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ end
4545
end
4646

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

0 commit comments

Comments
 (0)