Skip to content

Commit

Permalink
The size of the vectors was modified in ureport and creport...
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Aug 22, 2024
1 parent 9c3a557 commit d7a034d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/coverage.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ function coverage_increase(nlp::CUTEstModel{Float64})
varnames(Float64, status, Cint[n], vname)
if m == 0
unames(Float64, status, Cint[n], pname, vname)
calls, time = Vector{Float64}(undef, 4), Vector{Float64}(undef, 2)
calls = Vector{Float64}(undef, 4)
time = Vector{Float64}(undef, 4)
ureport(Float64, status, calls, time)
else
cname = Matrix{Cchar}(undef, 10, m)
connames(Float64, status, Cint[m], cname)
cnames(Float64, status, Cint[n], Cint[m], pname, vname, cname)
calls, time = Vector{Float64}(undef, 7), Vector{Float64}(undef, 2)
calls = Vector{Float64}(undef, 7)
time = Vector{Float64}(undef, 4)
creport(Float64, status, calls, time)
nvo, nvc, ec, lc = Cint[0], Cint[0], Cint[0], Cint[0]
cstats(Float64, status, nvo, nvc, ec, lc)
Expand Down

0 comments on commit d7a034d

Please sign in to comment.