mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-23 18:20:47 +08:00
fix use of uninitialzed calues
This commit is contained in:
parent
797f63044a
commit
0326a51f89
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user