Skip to content

Commit cb3a0f8

Browse files
authored
Explicitly import isbanded from BandedMatrices (#316)
1 parent 4a37cce commit cb3a0f8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

test/JacobiTest.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ using ApproxFunBaseTest: testbandedbelowoperator, testbandedoperator, testspace,
1111
testfunctional
1212
using ApproxFunOrthogonalPolynomials: jacobip
1313
using BandedMatrices
14+
using BandedMatrices: isbanded
1415
using BlockArrays
1516
using BlockBandedMatrices
1617
using StaticArrays: SVector
@@ -705,10 +706,10 @@ include("testutils.jl")
705706
xNC = Fun(NormalizedChebyshev())
706707
@test (Multiplication(xC) * xJ)(0.4) (0.4)^2
707708
@test (Multiplication(xNC) * xJ)(0.4) (0.4)^2
708-
@test ApproxFunBase.isbanded(Multiplication(xC, NormalizedLegendre()))
709-
@test ApproxFunBase.isbanded(Multiplication(xNC, NormalizedLegendre()))
710-
@test ApproxFunBase.isbanded(Multiplication(xC, NormalizedJacobi(1,1)))
711-
@test ApproxFunBase.isbanded(Multiplication(xNC, NormalizedJacobi(1,1)))
709+
@test isbanded(Multiplication(xC, NormalizedLegendre()))
710+
@test isbanded(Multiplication(xNC, NormalizedLegendre()))
711+
@test isbanded(Multiplication(xC, NormalizedJacobi(1,1)))
712+
@test isbanded(Multiplication(xNC, NormalizedJacobi(1,1)))
712713
end
713714

714715
@testset "space promotion" begin

test/UltrasphericalTest.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module UltrasphericalTest
33
using ApproxFunOrthogonalPolynomials
44
using ApproxFunBase
55
using BandedMatrices
6+
using BandedMatrices: isbanded
67
using HalfIntegers
78
using LinearAlgebra
89
using OddEvenIntegers

0 commit comments

Comments
 (0)