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
3d2bfc1f
Commit
3d2bfc1f
authored
Jan 03, 2020
by
Alvarez, Gonzalo
Browse files
HubbardAncilla: bug fix c <---> cdagger
This doesn't affect energies but does affect the sign of the hopping
parent
a732d561
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Models/GaugeSpin/GaugeSpin.h
View file @
3d2bfc1f
...
...
@@ -149,8 +149,7 @@ public:
RealType
)
const
{
SizeType
linSize
=
ModelBaseType
::
superGeometry
().
numberOfSites
();
SizeType
n
=
block
.
size
();
assert
(
n
==
1
);
assert
(
block
.
size
()
==
1
);
SizeType
site
=
block
[
0
];
...
...
src/Models/HubbardAncilla/HubbardAncilla.h
View file @
3d2bfc1f
...
...
@@ -208,9 +208,11 @@ protected:
su2related
.
offset
=
ORBITALS
;
}
OperatorType
myOp
(
tmpMatrix
,
SparseMatrixType
tmpMatrix2
;
transposeConjugate
(
tmpMatrix2
,
tmpMatrix
);
OperatorType
myOp
(
tmpMatrix2
,
ProgramGlobals
::
FermionOrBosonEnum
::
FERMION
,
typename
OperatorType
::
PairType
(
1
,
m
),
typename
OperatorType
::
PairType
(
1
,
m
),
asign
,
su2related
);
c
.
push
(
myOp
);
...
...
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