Skip to content

Commit f85dca1

Browse files
committed
Update test/enzyme.jl
1 parent f97e3e8 commit f85dca1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/enzyme.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@ using ADNLPModels:
77
# Automatically loads the code for Enzyme with Requires
88
import Enzyme
99

10-
for problem in NLPModelsTest.nlp_problems ["GENROSE"]
11-
include("nlp/problems/$(lowercase(problem)).jl")
12-
end
13-
for problem in NLPModelsTest.nls_problems
14-
include("nls/problems/$(lowercase(problem)).jl")
15-
end
16-
1710
EnzymeReverseAD() = ADNLPModels.ADModelBackend(
1811
ADNLPModels.EnzymeReverseADGradient(),
1912
ADNLPModels.EnzymeReverseADHvprod(zeros(1)),
@@ -105,6 +98,13 @@ include("sparse_jacobian_nls.jl")
10598
include("sparse_hessian.jl")
10699
include("sparse_hessian_nls.jl")
107100

101+
for problem in NLPModelsTest.nlp_problems ["GENROSE"]
102+
include("nlp/problems/$(lowercase(problem)).jl")
103+
end
104+
for problem in NLPModelsTest.nls_problems
105+
include("nls/problems/$(lowercase(problem)).jl")
106+
end
107+
108108
include("utils.jl")
109109
include("nlp/basic.jl")
110110
include("nls/basic.jl")

0 commit comments

Comments
 (0)