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 ...@@ -403,9 +403,9 @@ GllsMatrix FactorizedMatrix::inverse() const
work, work,
&info); &info);
// //
lapack_require(info, "dsytri");
radix_line("Optimal lwork(dsytri) is " << work[0] << " with n=" << n); radix_line("Optimal lwork(dsytri) is " << work[0] << " with n=" << n);
delete[] work; delete[] work;
lapack_require(info, "dsytri");
// de-serialize the result // de-serialize the result
GllsMatrix inverse = GllsMatrix::from_colmajor(inverse_colmajor, m_nrows, m_nrows); GllsMatrix inverse = GllsMatrix::from_colmajor(inverse_colmajor, m_nrows, m_nrows);
// unfold the result // unfold the result
......
Supports Markdown
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