File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -308,18 +308,15 @@ function CUTEstModel{T}(
308308 workspace_nvar = Vector {T} (undef, nvar)
309309 workspace_ncon = Vector {T} (undef, ncon)
310310
311- # Preallocate new coordinate format vectors (Issue #392)
312311 jac_coord_rows = Vector {Cint} (undef, nnzj)
313312 jac_coord_cols = Vector {Cint} (undef, nnzj)
314313 jac_coord_vals = Vector {T} (undef, nnzj)
315314 hess_coord_vals = Vector {T} (undef, nnzh)
316315
317- # Preallocate constraint evaluation vectors
318316 cons_vals = Vector {T} (undef, ncon)
319- nnln = count (.! linear) # Number of nonlinear constraints
317+ nnln = count (.! linear)
320318 cons_nln_vals = Vector {T} (undef, nnln)
321319
322- # Preallocate type conversion workspace vectors
323320 input_workspace = Vector {T} (undef, nvar)
324321 output_workspace = Vector {T} (undef, max (nvar, ncon))
325322
You can’t perform that action at this time.
0 commit comments