Skip to content

Commit 0acbf52

Browse files
Merge pull request #111 from vpuri3/staticarrayscore
switch to staticarrayscore, rm base.reshapedarray
2 parents cc46178 + c52485a commit 0acbf52

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Project.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ Lazy = "50d2b5c4-7a5e-59d5-8109-a42b560f39c0"
1010
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1111
Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46"
1212
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
13-
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
13+
StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
1414
Tricks = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775"
1515

1616
[compat]
1717
ArrayInterfaceCore = "0.1"
1818
DocStringExtensions = "0.8, 0.9"
1919
Lazy = "0.15"
2020
Setfield = "0.8, 1"
21-
StaticArrays = "1"
2221
Tricks = "0.1.6"
2322
julia = "1.6"

src/SciMLOperators.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ module SciMLOperators
33
using DocStringExtensions
44

55
using LinearAlgebra
6-
import StaticArrays
76
import SparseArrays
7+
import StaticArraysCore
88
import ArrayInterfaceCore
9-
import Base: ReshapedArray
109
import Tricks: static_hasmethod
1110
import Lazy: @forward
1211
import Setfield: @set!

src/matrix.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Base.axes(L::MatrixOperator) = axes(L.A)
6868
Base.eachindex(L::MatrixOperator) = eachindex(L.A)
6969
Base.IndexStyle(::Type{<:MatrixOperator{T,AType}}) where{T,AType} = Base.IndexStyle(AType)
7070
Base.copyto!(L::MatrixOperator, rhs) = (copyto!(L.A, rhs); L)
71-
Base.copyto!(L::MatrixOperator, rhs::Base.Broadcast.Broadcasted{<:StaticArrays.StaticArrayStyle}) = (copyto!(L.A, rhs); L)
71+
Base.copyto!(L::MatrixOperator, rhs::Base.Broadcast.Broadcasted{<:StaticArraysCore.StaticArrayStyle}) = (copyto!(L.A, rhs); L)
7272
Base.Broadcast.broadcastable(L::MatrixOperator) = L
7373
Base.ndims(::Type{<:MatrixOperator{T,AType}}) where{T,AType} = ndims(AType)
7474
ArrayInterfaceCore.issingular(L::MatrixOperator) = ArrayInterfaceCore.issingular(L.A)

0 commit comments

Comments
 (0)