Use traits<Matrix>::Options instead of Matrix::Options.

This commit is contained in:
Antonio Sánchez
2024-02-16 00:11:57 +00:00
committed by Rasmus Munk Larsen
parent 0b9ca1159b
commit 500a3602f0
15 changed files with 17 additions and 16 deletions

View File

@@ -27,7 +27,7 @@ struct traits<image_retval_base<DecompositionType> > {
MatrixType::RowsAtCompileTime, // the image is a subspace of the destination space, whose
// dimension is the number of rows of the original matrix
Dynamic, // we don't know at compile time the dimension of the image (the rank)
MatrixType::Options,
traits<MatrixType>::Options,
MatrixType::MaxRowsAtCompileTime, // the image matrix will consist of columns from the original
// matrix,
MatrixType::MaxColsAtCompileTime // so it has the same number of rows and at most as many columns.

View File

@@ -28,7 +28,7 @@ struct traits<kernel_retval_base<DecompositionType> > {
// is the number of cols of the original matrix
// so that the product "matrix * kernel = zero" makes sense
Dynamic, // we don't know at compile-time the dimension of the kernel
MatrixType::Options,
traits<MatrixType>::Options,
MatrixType::MaxColsAtCompileTime, // see explanation for 2nd template parameter
MatrixType::MaxColsAtCompileTime // the kernel is a subspace of the domain space,
// whose dimension is the number of columns of the original matrix