Skip to content

Commit 47f8e32

Browse files
committed
typo in LowRankOperator
1 parent d8715b2 commit 47f8e32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Operators/almostbanded/LowRankOperator.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct LowRankOperator{S<:Space,T} <: AbstractLowRankOperator{T}
66
U::Vector{VFun{S,T}}
77
V::Vector{Operator{T}}
88

9-
function LowRankOperator{S,T}(U::Vector{VFun{S,T}},V::Vector{Operator{T}}) where {S,T}
9+
function LowRankOperator{S,T}(U::Vector{VFun{S,T}},V::Vector{Operator{T}}) where {S<:Space,T}
1010
@assert all(isafunctional,V)
1111

1212
@assert length(U) == length(V)
@@ -39,12 +39,12 @@ LowRankOperator(B::AbstractVector,S...) = LowRankOperator(strictconvert(Vector{O
3939
LowRankOperator(A::Fun,B::Operator) = LowRankOperator([A],[B])
4040

4141

42-
function LowRankOperator{S,T}(L::LowRankOperator) where {S,T}
42+
function LowRankOperator{S,T}(L::LowRankOperator) where {S<:Space,T}
4343
LowRankOperator{S,T}(strictconvert(Vector{VFun{S,T}},L.U),
4444
strictconvert(Vector{Operator{T}},L.V))
4545
end
4646

47-
Operator{T}(L::LowRankOperator{S}) where {S,T} = LowRankOperator{S,T}(S)
47+
Operator{T}(L::LowRankOperator{S}) where {S,T} = LowRankOperator{S,T}(L)
4848

4949

5050
datasize(L::LowRankOperator,k) =

0 commit comments

Comments
 (0)