MCPcopy Create free account
hub / github.com/NeuralNetworkVerification/Marabou / adjustWorkMemorySize

Method adjustWorkMemorySize

src/engine/Engine.cpp:121–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void Engine::adjustWorkMemorySize()
122{
123 if ( _work )
124 {
125 delete[] _work;
126 _work = NULL;
127 }
128
129 _work = new double[_tableau->getM()];
130 if ( !_work )
131 throw MarabouError( MarabouError::ALLOCATION_FAILED, "Engine::work" );
132}
133
134void Engine::applySnCSplit( PiecewiseLinearCaseSplit sncSplit, String queryId )
135{

Callers

nothing calls this directly

Calls 2

MarabouErrorClass · 0.85
getMMethod · 0.45

Tested by

no test coverage detected