From b89b1280d5d384ce10ea8fc77eae1c804d2e9569 Mon Sep 17 00:00:00 2001 From: Yong-Chull Jang Date: Tue, 31 Mar 2020 05:39:31 -0400 Subject: [PATCH] use gemm twice to complete the Gram Schmidt --- .../ImplicitlyRestartedBlockLanczos.h | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/Grid/algorithms/iterative/ImplicitlyRestartedBlockLanczos.h b/Grid/algorithms/iterative/ImplicitlyRestartedBlockLanczos.h index cd6bd682..95fedbca 100644 --- a/Grid/algorithms/iterative/ImplicitlyRestartedBlockLanczos.h +++ b/Grid/algorithms/iterative/ImplicitlyRestartedBlockLanczos.h @@ -303,7 +303,7 @@ public: //Glog << stat << std::endl; grid->GlobalSumVector((double*)c_acc,2*Nu*Nevec_acc); - +#if 0 for (int i=0; i(&w_v[0]); + for (size_t row=0; row