Skip to content

Commit 42417de

Browse files
committed
Fix
1 parent fc4ec04 commit 42417de

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

test/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1919

2020
[sources]
2121
ArrayDiff = {path = ".."}
22+
NLopt = {name = "NLopt", ref = "bl/diff_backend"}
23+
NLPModelsJuMP = {name = "NLPModelsJuMP", ref = "bl/nonlinear_model"}

test/runtests.jl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
include("ReverseAD.jl")
22
include("ArrayDiff.jl")
33
include("JuMP.jl")
4-
# Currently needs https://github.com/jump-dev/NLopt.jl/pull/273
5-
#include("NLopt.jl")
6-
include("NLPModelsJuMP.jl")
7-
include("Optimisers.jl")
4+
if VERSION > v"1.10"
5+
# [sources] not supported on Julia v1.10
6+
# Needs https://github.com/jump-dev/NLopt.jl/pull/273
7+
include("NLopt.jl")
8+
# Needs https://github.com/JuliaSmoothOptimizers/NLPModelsJuMP.jl/pull/229
9+
include("NLPModelsJuMP.jl")
10+
include("Optimisers.jl")
11+
end

0 commit comments

Comments
 (0)