fix use of uninitialzed calues

This commit is contained in:
Gael Guennebaud 2010-04-17 05:23:23 +02:00
parent 797f63044a
commit 0326a51f89

View File

@ -26,7 +26,10 @@ void ei_rwupdt(
}
if (rowj == 0.)
{
givens[j] = PlanarRotation<Scalar>(1,0);
continue;
}
/* determine a givens rotation which eliminates w(j). */
givens[j].makeGivens(-r(j,j), rowj);