mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Revert "Fix ambiguous static_cast in JacobiSVD blocking threshold computation"
This reverts commit e567151ce3.
This commit is contained in:
@@ -774,7 +774,7 @@ JacobiSVD<MatrixType, Options>& JacobiSVD<MatrixType, Options>::compute_impl(con
|
||||
const Index blockingThreshold = EIGEN_JACOBI_SVD_BLOCKING_THRESHOLD;
|
||||
#else
|
||||
const Index blockingThreshold =
|
||||
static_cast<Index>(std::sqrt(static_cast<double>(l2CacheSize() / sizeof(float))));
|
||||
static_cast<Index>(numext::sqrt(static_cast<RealScalar>(l2CacheSize() / sizeof(float))));
|
||||
#endif
|
||||
|
||||
if (n >= blockingThreshold) {
|
||||
|
||||
Reference in New Issue
Block a user