MCPcopy Create free account
hub / github.com/PSOPT/psopt / allocI

Method allocI

snopt-interface/src/snoptProblem.cpp:68–74  ·  view source on GitHub ↗

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

Source from the content-addressed store, hash-verified

66
67/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
68void snoptProblem::allocI(int aleniw) {
69 // Reset work array lengths.
70 // Allocate new memory for work arrays.
71 assert(aleniw >= 500);
72 leniw = aleniw;
73 iw = new int[leniw];
74}
75
76/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
77void snoptProblem::allocR(int alenrw) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected