Skip to content

Commit 3bc77e3

Browse files
author
regnault
committed
Nicolas Regnault:
- more 128 bits fixes git-svn-id: https://www.nick-ux.org/diagham/svn/trunk@4107 b9410c57-6ef9-0310-98bc-a73ba792996a
1 parent 04dc6a5 commit 3bc77e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

FQHE/src/HilbertSpace/FermionOnSphereWithSU4SpinLong.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ inline double FermionOnSphereWithSU4SpinLong::GenericAA(int index, int n1, int n
776776
this->ProdATemporaryState &= ~(((ULONGLONG) 0x1ul) << n1);
777777
if (this->ProdATemporaryState != ((ULONGLONG) 0x0ul))
778778
{
779-
while ((this->ProdATemporaryState >> this->ProdALzMax) == 0)
779+
while ((this->ProdATemporaryState >> this->ProdALzMax) == ((ULONGLONG) 0x0ul))
780780
--this->ProdALzMax;
781781
}
782782
else

FQHE/src/HilbertSpace/FermionOnSphereWithSU8SpinLong.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ inline double FermionOnSphereWithSU8SpinLong::AsigmaAsigma (int index, int n1, i
452452
this->ProdATemporaryState &= ~(((ULONGLONG) 0x1ul) << n1);
453453
if (this->ProdATemporaryState != ((ULONGLONG) 0x0ul))
454454
{
455-
while ((this->ProdATemporaryState >> this->ProdALzMax) == 0)
455+
while ((this->ProdATemporaryState >> this->ProdALzMax) == ((ULONGLONG) 0x0ul))
456456
--this->ProdALzMax;
457457
}
458458
else

0 commit comments

Comments
 (0)