We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cf02e7 commit b4adac2Copy full SHA for b4adac2
benchmark/benchmarks.jl
@@ -11,7 +11,7 @@ for n in [100, 1000]
11
SUITE["grad! tim"]["$n"] = @benchmarkable grad!(timed_nlp, get_x0(nlp), $g) setup = (nlp = OptimizationProblems.ADNLPProblems.arglina(n = $n), timed_nlp = TimerNLPModel(nlp))
12
end
13
for n in [100, 1000]
14
- Hv = zeros(T, n)
+ Hv = zeros(n)
15
SUITE["hprod! ref"]["$n"] = @benchmarkable hprod!(nlp, get_x0(nlp), get_x0(nlp), $Hv) setup = (nlp = OptimizationProblems.ADNLPProblems.arglina(n = $n), timed_nlp = TimerNLPModel(nlp))
16
SUITE["hprod! tim"]["$n"] = @benchmarkable hprod!(timed_nlp, get_x0(nlp), get_x0(nlp), $Hv) setup = (nlp = OptimizationProblems.ADNLPProblems.arglina(n = $n), timed_nlp = TimerNLPModel(nlp))
17
0 commit comments