Skip to content

Commit f7385d5

Browse files
authored
concrete namespace in macros (#562)
1 parent 8d594dd commit f7385d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Operators/Operator.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,8 @@ macro wrappergetindex(Wrap)
671671
# fast converts to banded matrices would be based on indices, not blocks
672672
function ApproxFunBase.BandedMatrix(S::ApproxFunBase.SubOperator{T,OP,NTuple{2,ApproxFunBase.BlockRange1}}) where {T,OP<:$Wrap}
673673
A = parent(S)
674-
ds = domainspace(A)
675-
rs = rangespace(A)
674+
ds = ApproxFunBase.domainspace(A)
675+
rs = ApproxFunBase.rangespace(A)
676676
KR,JR = parentindices(S)
677677
ApproxFunBase.BandedMatrix(view(A,
678678
ApproxFunBase.blockstart(rs,first(KR)):ApproxFunBase.blockstop(rs,last(KR)),

src/Operators/banded/CalculusOperator.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ macro calculus_operator(Op)
9898

9999

100100
function ApproxFunBase.promotedomainspace(D::$Op, sp::ApproxFunBase.Space)
101-
if ApproxFunBase.isambiguous(domain(sp))
102-
$Op(typeof(sp)(domain(D)),D.order)
101+
if ApproxFunBase.isambiguous(ApproxFunBase.domain(sp))
102+
$Op(typeof(sp)(ApproxFunBase.domain(D)),D.order)
103103
else
104104
$Op(sp,D.order)
105105
end

0 commit comments

Comments
 (0)