Skip to content

Commit c8b1ac7

Browse files
committed
typos
1 parent 4bec7f3 commit c8b1ac7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/test/test_dictionary.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ function test_generic_conversion(b1, b2)
469469
if length(b1) == length(b2)
470470
Cinv = conversion(b2, b1)
471471
f2 = Cinv * (C*f)
472-
@test norm(coefficients(f2-f2)) < tolerance
472+
@test norm(coefficients(f-f2)) < tolerance
473473
end
474474
end
475475

test/test_ops.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,11 @@ using BasisFunctions: isequaldict
218218
@test matrix(conversion(Jacobi(3, 1/2, 1/2), ChebyshevU(3))) isa Diagonal
219219
@test !(matrix(conversion(Jacobi(3, -1/2, 1/2), ChebyshevU(3))) isa Diagonal)
220220

221-
test_generic_conversion(Ultraspherical(3, 2), Jacobi(3, 3/2, 3/2))
222-
@test matrix(conversion(Ultraspherical(3, 2), Jacobi(3, 3/2, 3/2))) isa Diagonal
223-
@test !(matrix(conversion(Ultraspherical(3, 2), Jacobi(3, -1/2, 1/2))) isa Diagonal)
224-
@test matrix(conversion(Jacobi(3, 3/2, 3/2), Ultraspherical(3, 2))) isa Diagonal
225-
@test !(matrix(conversion(Jacobi(3, -1/2, 1/2), Ultraspherical(3, 2))) isa Diagonal)
221+
test_generic_conversion(Ultraspherical(3, 2.0), Jacobi(3, 3/2, 3/2))
222+
@test matrix(conversion(Ultraspherical(3, 2.0), Jacobi(3, 3/2, 3/2))) isa Diagonal
223+
@test !(matrix(conversion(Ultraspherical(3, 2.0), Jacobi(3, -1/2, 1/2))) isa Diagonal)
224+
@test matrix(conversion(Jacobi(3, 3/2, 3/2), Ultraspherical(3, 2.0))) isa Diagonal
225+
@test !(matrix(conversion(Jacobi(3, -1/2, 1/2), Ultraspherical(3, 2.0))) isa Diagonal)
226226
end
227227

228228
@testset "Orthogonality of orthogonal polynomials" begin

0 commit comments

Comments
 (0)