mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Clean up informal language, vague TODOs, and dead code in comments
libeigen/eigen!2191 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
@@ -124,7 +124,7 @@ void svd_least_square(const MatrixType& m) {
|
||||
if (internal::is_same<RealScalar, double>::value || svd.rank() == m.diagonal().size()) {
|
||||
using std::sqrt;
|
||||
// This test is not stable with single precision.
|
||||
// This is probably because squaring m signicantly affects the precision.
|
||||
// This is likely because squaring m significantly affects the precision.
|
||||
if (internal::is_same<RealScalar, float>::value) ++g_test_level;
|
||||
|
||||
VERIFY_IS_APPROX(m.adjoint() * (m * x), m.adjoint() * rhs);
|
||||
|
||||
Reference in New Issue
Block a user