Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
084ca1de
Commit
084ca1de
authored
Jan 16, 2017
by
LEFEBVREJP email
Browse files
Fixing potential memory leak in radixglls.
parent
68454bf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
radixglls/linalg.cc
View file @
084ca1de
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment