Commit 084ca1de authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Fixing potential memory leak in radixglls.

parent 68454bf1
......@@ -403,9 +403,9 @@ GllsMatrix FactorizedMatrix::inverse() const
work,
&info);
//
lapack_require(info, "dsytri");
radix_line("Optimal lwork(dsytri) is " << work[0] << " with n=" << n);
delete[] work;
lapack_require(info, "dsytri");
// de-serialize the result
GllsMatrix inverse = GllsMatrix::from_colmajor(inverse_colmajor, m_nrows, m_nrows);
// unfold the result
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment