Skip to content

Commit a11e0a8

Browse files
Mark a few wrapper types for fastbc
1 parent 2523d79 commit a11e0a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/diffeqfastbc.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Base.@propagate_inbounds _broadcast_getindex(b::DiffEqBC{<:AbstractArray{<:Any,0
1212
Base.@propagate_inbounds _broadcast_getindex(b::DiffEqBC{<:AbstractVector}, i) = b.x[i[1]]
1313
Base.@propagate_inbounds _broadcast_getindex(b::DiffEqBC{<:AbstractArray}, i) = b.x[i]
1414
diffeqbc(x::Array) = DiffEqBC(x)
15+
diffeqbc(x::LabelledArrays.LArray) = DiffEqBC(x)
16+
diffeqbc(x::Adjoint{<:Array}) = DiffEqBC(x)
17+
diffeqbc(x::Transpose{<:Array}) = DiffEqBC(x)
18+
diffeqbc(x::MArray) = DiffEqBC(x)
1519
diffeqbc(x) = x
1620

1721
# Ensure inlining

0 commit comments

Comments
 (0)