Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alvarez, Gonzalo
PsimagLite
Commits
ec259069
Commit
ec259069
authored
Apr 05, 2021
by
Alvarez, Gonzalo
Browse files
LanczosCore, ChebyshevSolver: another memory fix after recent changes
parent
d5ebfd17
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ChebyshevSolver.h
View file @
ec259069
...
...
@@ -240,7 +240,6 @@ public:
DenseMatrixType
*
ptr
=
lanczosVectors_
.
data
();
if
(
!
ptr
)
err
(
"LanczosSolver::lanczosVectors() called but no data stored
\n
"
);
lanczosVectors_
.
needsDelete
(
false
);
return
ptr
->
swap
(
V
);
}
...
...
src/LanczosCore.h
View file @
ec259069
...
...
@@ -274,7 +274,6 @@ public:
if
(
!
ptr
)
throw
RuntimeError
(
"LanczosCore::lanczosVectors() called but no data stored
\n
"
);
lanczosVectors_
.
needsDelete
(
false
);
ptr
->
swap
(
V
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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