mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix misc warnings
This commit is contained in:
@@ -56,4 +56,5 @@ void chkder(
|
||||
}
|
||||
}
|
||||
|
||||
} // end namespace internal
|
||||
} // end namespace internal
|
||||
|
||||
|
||||
@@ -28,15 +28,12 @@ void rwupdt(
|
||||
r(i,j) = temp;
|
||||
}
|
||||
|
||||
if (rowj == 0.)
|
||||
{
|
||||
givens[j] = JacobiRotation<Scalar>(1,0);
|
||||
continue;
|
||||
}
|
||||
|
||||
/* determine a givens rotation which eliminates w(j). */
|
||||
givens[j].makeGivens(-r(j,j), rowj);
|
||||
|
||||
if (rowj == 0.)
|
||||
continue; // givens[j] is identity
|
||||
|
||||
/* apply the current transformation to r(j,j), b(j), and alpha. */
|
||||
r(j,j) = givens[j].c() * r(j,j) + givens[j].s() * rowj;
|
||||
temp = givens[j].c() * b[j] + givens[j].s() * alpha;
|
||||
@@ -45,4 +42,5 @@ void rwupdt(
|
||||
}
|
||||
}
|
||||
|
||||
} // end namespace internal
|
||||
} // end namespace internal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user