File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,14 @@ authors = ["Benoît Legat <benoit.legat@gmail.com>"]
4
4
version = " 0.1.0"
5
5
6
6
[deps ]
7
+ DataStructures = " 864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
8
+ ForwardDiff = " f6369f11-7733-5829-9624-2563aa707210"
7
9
MathOptInterface = " b8f27783-ece8-5eb3-8dc8-9495eed66fee"
10
+ NaNMath = " 77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
11
+ SparseArrays = " 2f01184e-e22b-5df5-ae63-d93ebab69eaf"
12
+
13
+ [compat ]
14
+ DataStructures = " 0.18.22"
15
+ ForwardDiff = " 1.0.1"
16
+ NaNMath = " 1.1.3"
17
+ SparseArrays = " 1.11.0"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ module ArrayAD
8
8
9
9
import ForwardDiff
10
10
import MathOptInterface as MOI
11
- import . . Nonlinear
11
+ const Nonlinear = MOI . Nonlinear
12
12
import SparseArrays
13
13
14
14
# Override basic math functions to return NaN instead of throwing errors.
Original file line number Diff line number Diff line change @@ -8,11 +8,12 @@ module TestArrayAD
8
8
9
9
using Test
10
10
import LinearAlgebra
11
- import MathOptInterface as MOI
12
11
import SparseArrays
13
12
13
+ import MathOptInterface as MOI
14
14
const Nonlinear = MOI. Nonlinear
15
- const ArrayAD = Nonlinear. ArrayAD
15
+
16
+ import ArrayAD
16
17
const Coloring = ArrayAD. Coloring
17
18
18
19
function runtests ()
You can’t perform that action at this time.
0 commit comments