Skip to content

Commit 727a26c

Browse files
committed
don't assume BandedMatrices is included
1 parent cb87917 commit 727a26c

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Project.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953"
2020
LazyArrays = "5078a376-72f3-5289-bfd5-ec5146d43c02"
2121
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
2222
LowRankApprox = "898213cb-b102-5a47-900c-97e73b919f73"
23-
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
2423
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
2524
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
2625
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
@@ -49,3 +48,9 @@ SpecialFunctions = "0.7"
4948
StaticArrays = "0.9, 0.10, 0.11"
5049
ToeplitzMatrices = "0.5, 0.6"
5150
julia = "1.0"
51+
52+
[extras]
53+
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
54+
55+
[targets]
56+
test = ["Random"]

src/ApproxFunBase.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
__precompile__()
2-
31
module ApproxFunBase
42
using Base, BlockArrays, BandedMatrices, BlockBandedMatrices, DomainSets, IntervalSets,
53
SpecialFunctions, AbstractFFTs, FFTW, SpecialFunctions, DSP, DualNumbers, FastTransforms,

src/Operators/Operator.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ macro wrappergetindex(Wrap)
494494
ApproxFunBase.mul_coefficients(view(parent(A).op,S.indexes[1],S.indexes[2]),b)
495495
end
496496

497-
for TYP in (:(BandedMatrices.BandedMatrix),:(ApproxFunBase.RaggedMatrix),
497+
for TYP in (:(ApproxFunBase.BandedMatrix),:(ApproxFunBase.RaggedMatrix),
498498
:Matrix,:Vector,:AbstractVector)
499499
ret = quote
500500
$ret
@@ -510,7 +510,7 @@ macro wrappergetindex(Wrap)
510510
$ret
511511

512512
# fast converts to banded matrices would be based on indices, not blocks
513-
function BandedMatrices.BandedMatrix(S::ApproxFunBase.SubOperator{T,OP,NTuple{2,ApproxFunBase.BlockRange1}}) where {T,OP<:$Wrap}
513+
function ApproxFunBase.BandedMatrix(S::ApproxFunBase.SubOperator{T,OP,NTuple{2,ApproxFunBase.BlockRange1}}) where {T,OP<:$Wrap}
514514
A = parent(S)
515515
ds = domainspace(A)
516516
rs = rangespace(A)

0 commit comments

Comments
 (0)