*** empty log message ***
This commit is contained in:
parent
3b92abcdb2
commit
68fb886418
@ -212,7 +212,7 @@ for(i=0; i<n; ++i)
|
|||||||
|
|
||||||
//orthogonalise to previous vectors
|
//orthogonalise to previous vectors
|
||||||
typename LA_traits<T>::normtype vnorm= vec1.norm();
|
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
|
else
|
||||||
{
|
{
|
||||||
vec1 *= (1./vnorm);
|
vec1 *= (1./vnorm);
|
||||||
|
Loading…
Reference in New Issue
Block a user