Disable bad "deprecated warning" edge-case in BDCSVD

This commit is contained in:
Arthur
2022-08-11 18:43:31 +00:00
committed by Rasmus Munk Larsen
parent b8e93bf589
commit 27367017bd
2 changed files with 21 additions and 0 deletions

View File

@@ -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