mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Disable bad "deprecated warning" edge-case in BDCSVD
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
b8e93bf589
commit
27367017bd
@@ -57,6 +57,9 @@ struct allocate_small_svd {
|
||||
}
|
||||
};
|
||||
|
||||
EIGEN_DIAGNOSTICS(push)
|
||||
EIGEN_DISABLE_DEPRECATED_WARNING
|
||||
|
||||
template <typename MatrixType>
|
||||
struct allocate_small_svd<MatrixType, 0> {
|
||||
static void run(JacobiSVD<MatrixType>& smallSvd, Index rows, Index cols, unsigned int computationOptions) {
|
||||
@@ -64,6 +67,8 @@ struct allocate_small_svd<MatrixType, 0> {
|
||||
}
|
||||
};
|
||||
|
||||
EIGEN_DIAGNOSTICS(pop)
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
/** \ingroup SVD_Module
|
||||
|
||||
Reference in New Issue
Block a user