Skip to content

Commit 78525d5

Browse files
Merge pull request #496 from SciML/fastbc
Mark a few wrapper types for fastbc
2 parents 2523d79 + c307b4d commit 78525d5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DiffEqBase"
22
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
33
authors = ["Chris Rackauckas <[email protected]>"]
4-
version = "6.30.2"
4+
version = "6.30.3"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

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)