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
Laurell, Pontus Bengt Johan
dmrgpp
Commits
1c791cc2
Commit
1c791cc2
authored
Feb 23, 2021
by
Alvarez, Gonzalo
Browse files
printritz works when useComplex
parent
862e1c1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Engine/CorrectionVectorSkeleton.h
View file @
1c791cc2
...
...
@@ -292,6 +292,10 @@ private:
if
(
T
.
n_col
()
!=
T
.
n_row
())
throw
PsimagLite
::
RuntimeError
(
"T is not square
\n
"
);
if
(
V
.
n_col
()
!=
T
.
n_col
())
throw
PsimagLite
::
RuntimeError
(
"V is not nxn2
\n
"
);
typename
LanczosSolverType
::
ParametersSolverType
params
(
ioIn_
,
"Tridiag"
);
bool
b1
=
(
params
.
options
.
find
(
"printritz"
)
!=
PsimagLite
::
String
::
npos
);
if
(
b1
)
printRitz
(
eigs
,
i0
);
ComplexOrRealType
zone
=
1.0
;
ComplexOrRealType
zzero
=
0.0
;
...
...
@@ -314,10 +318,6 @@ private:
xr
.
resize
(
n
);
psimag
::
BLAS
::
GEMV
(
'N'
,
n
,
n2
,
zone
,
&
(
V
(
0
,
0
)),
n
,
&
(
tmp
[
0
]),
1
,
zzero
,
&
(
xr
[
0
]),
1
);
typename
LanczosSolverType
::
ParametersSolverType
params
(
ioIn_
,
"Tridiag"
);
bool
b1
=
(
params
.
options
.
find
(
"printritz"
)
!=
PsimagLite
::
String
::
npos
);
if
(
b1
)
printRitz
(
eigs
,
i0
);
}
void
triDiag
(
const
VectorWithOffsetType
&
phi
,
...
...
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