diff options
author | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2012-12-07 15:32:04 +0100 |
---|---|---|
committer | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2012-12-07 15:32:04 +0100 |
commit | 5afaacedc6129ae6c9488c8c6a0ec9179dda6abc (patch) | |
tree | 9944af997f9c6e70ecf5c861035ccf6c1cb0c457 /Eigen/src/OrderingMethods/Ordering.h | |
parent | 895d90d3e1c0ae2fc28c536908b44fd820b79116 (diff) |
Update SPQR interface
Diffstat (limited to 'Eigen/src/OrderingMethods/Ordering.h')
-rw-r--r-- | Eigen/src/OrderingMethods/Ordering.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/OrderingMethods/Ordering.h b/Eigen/src/OrderingMethods/Ordering.h index f5757b319..36733fb9f 100644 --- a/Eigen/src/OrderingMethods/Ordering.h +++ b/Eigen/src/OrderingMethods/Ordering.h @@ -82,7 +82,7 @@ class AMDOrdering template <typename SrcType, unsigned int SrcUpLo> void operator()(const SparseSelfAdjointView<SrcType, SrcUpLo>& mat, PermutationType& perm) { - SparseMatrix<typename SrcType::Scalar, ColMajor, Index> C = mat; + SparseMatrix<typename SrcType::Scalar, ColMajor, Index> C; C = mat; // Call the AMD routine // m_mat.prune(keep_diag()); //Remove the diagonal elements @@ -104,7 +104,7 @@ class NaturalOrdering /** Compute the permutation vector from a column-major sparse matrix */ template <typename MatrixType> - void operator()(const MatrixType& mat, PermutationType& perm) + void operator()(const MatrixType& /*mat*/, PermutationType& perm) { perm.resize(0); } |