From 68fb886418311a9a444687d4f16f4a7ece60ac82 Mon Sep 17 00:00:00 2001 From: jiri Date: Wed, 20 May 2020 16:31:10 +0000 Subject: [PATCH] *** empty log message *** --- davidson.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/davidson.h b/davidson.h index b284f89..5b843a6 100644 --- a/davidson.h +++ b/davidson.h @@ -212,7 +212,7 @@ for(i=0; i::normtype vnorm= vec1.norm(); -if(vnorm) laerror("Zero Krylov vector in Davidson - perhaps try different initial guess"); +if(vnorm==0.) laerror("Zero Krylov vector in Davidson - perhaps try different initial guess"); else { vec1 *= (1./vnorm);