*** empty log message ***

This commit is contained in:
jiri 2020-05-20 16:31:10 +00:00
parent 3b92abcdb2
commit 68fb886418

View File

@ -212,7 +212,7 @@ for(i=0; i<n; ++i)
//orthogonalise to previous vectors
typename LA_traits<T>::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);