fix rngs issue; block Lanczos is working

This commit is contained in:
Yong-Chull Jang committed 2020-03-25 15:45:50 -04:00
1 parent 2db7e6f8ab
commit 9266b89ad8
2 files changed
+2 -2

No files matched your search

@@ -180,7 +180,7 @@ public:
Glog<<"orthogonalize after: "<<j<<" of "<<k<<" "<< ip <<std::endl; Glog<<"orthogonalize after: "<<j<<" of "<<k<<" "<< ip <<std::endl;
} }
} }
normalize(w,if_print); assert(normalize(w,if_print) != 0);
} }
void reorthogonalize(Field& w, std::vector<Field>& evec, int k) void reorthogonalize(Field& w, std::vector<Field>& evec, int k)
{ {
+1 -1
View File
@@ -363,7 +363,7 @@ int main (int argc, char ** argv)
std::vector<RealD> eval(JP.Nm); std::vector<RealD> eval(JP.Nm);
std::vector<FermionField> src(JP.Nu,FrbGrid); std::vector<FermionField> src(JP.Nu,FrbGrid);
if (1) if (0)
{ {
std::cout << GridLogMessage << "Using RNG5"<<std::endl; std::cout << GridLogMessage << "Using RNG5"<<std::endl;
FermionField src_tmp(FGrid); FermionField src_tmp(FGrid);