Skip to content
Snippets Groups Projects
Commit eebc5df4 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

rahulMethod: fermion sign bug fix

parent 94a3a417
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ public:
if (op.isFermionic()) {
const SizeType overUp = (op.dof() == SPIN_UP)
? 0
: PsimagLite::BitManip::count(ket1);
: PsimagLite::BitManip::count(ketp1);
if (overUp & 1) result *= FERMION_SIGN;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment