Skip to content

Commit e1eadf8

Browse files
committed
generalise copy overload
1 parent b880c37 commit e1eadf8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ContinuumArrays"
22
uuid = "7ae1f121-cc2c-504b-ac30-9b923412ae5c"
3-
version = "0.12"
3+
version = "0.12.1"
44

55

66
[deps]

src/bases/bases.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ sublayout(::WeightLayout, _) = WeightLayout()
3131
sublayout(::AbstractBasisLayout, ::Type{<:Tuple{Map,AbstractVector}}) = MappedBasisLayout()
3232

3333
# copy with an Inclusion can not be materialized
34-
copy(V::SubQuasiArray{<:Any,N,<:Basis,<:Tuple{Inclusion,Vararg{Any}}, trfl}) where {N,trfl} = V
34+
copy(V::SubQuasiArray{<:Any,N,<:Basis,<:Tuple{AbstractQuasiVector,Vararg{Any}}, trfl}) where {N,trfl} = V
3535

3636

3737
## Weighted basis interface

0 commit comments

Comments
 (0)