Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit ed0b7e5

Browse files
author
Avik Pal
committed
Use SciMLBase
1 parent 17ba06d commit ed0b7e5

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
88
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
99
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
1010
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
11-
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
1211
FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41"
1312
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
1413
LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d"
1514
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1615
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
16+
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1717
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1818
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1919
VertexSafeGraphs = "19fa3120-7c27-5ec5-8db8-b0b0aa330d6f"
@@ -23,11 +23,11 @@ Adapt = "1, 2.0, 3.0"
2323
ArrayInterface = "2.8, 3.0"
2424
Compat = "2.2, 3"
2525
DataStructures = "0.17, 0.18"
26-
DiffEqBase = "6"
2726
FiniteDiff = "2.8.1"
2827
ForwardDiff = "0.10"
2928
LightGraphs = "1.3"
3029
Requires = "0.5, 1.0"
30+
SciMLBase = "1"
3131
StaticArrays = "1"
3232
VertexSafeGraphs = "0.1"
3333
julia = "1.6"

src/SparseDiffTools.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module SparseDiffTools
22

33
using Compat
4-
using DiffEqBase
4+
using SciMLBase
55
using FiniteDiff
66
using ForwardDiff
77
using LightGraphs

src/differentiation/vecjac_products.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function num_vecjac!(
88
cache2 = similar(v);
99
compute_f0 = true,
1010
)
11-
if DiffEqBase.numargs(f) != 2
11+
if SciMLBase.numargs(f) != 2
1212
du .= num_jacvec(f, x, v)
1313
return du
1414
end

0 commit comments

Comments
 (0)