Skip to content
Snippets Groups Projects
Commit 2eff058f authored by Oliver Sander's avatar Oliver Sander
Browse files

Merge branch 'fix-memory-leak-in-cholmod-solver' into 'master'

Fix memory leak in the CHOLMOD wrapper code

See merge request !602
parents e4079597 e4ffbb1f
No related branches found
No related tags found
1 merge request!602Fix memory leak in the CHOLMOD wrapper code
Pipeline #76522 passed
......@@ -461,6 +461,10 @@ public:
});
// Remove old factor that may be left over from a previous run
if (L_)
CholmodMethod::free_factor(&L_, &c_);
// Now analyse the pattern and optimal row order
L_ = CholmodMethod::analyze(M.get(), &c_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment