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

Method freeMemoryIfNeeded

src/basis_factorization/CSRMatrix.cpp:222–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222void CSRMatrix::freeMemoryIfNeeded()
223{
224 if ( _A )
225 {
226 delete[] _A;
227 _A = NULL;
228 }
229
230 if ( _IA )
231 {
232 delete[] _IA;
233 _IA = NULL;
234 }
235
236 if ( _JA )
237 {
238 delete[] _JA;
239 _JA = NULL;
240 }
241}
242
243void CSRMatrix::storeIntoOther( SparseMatrix *other ) const
244{

Callers 1

storeIntoOtherMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected