diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-10-06 17:21:24 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-10-06 17:21:24 +0200 |
commit | 69a7897e7288cd06ff2997caf007e743343dc29d (patch) | |
tree | 0cbd794b7187492ecda920aac633589a6e906c1d /Eigen/src/SparseCore/SparseSelfAdjointView.h | |
parent | 26cde4db3c600f3f1ef635305be76547ab032189 (diff) |
Fix storage index type in empty permutations
Diffstat (limited to 'Eigen/src/SparseCore/SparseSelfAdjointView.h')
-rw-r--r-- | Eigen/src/SparseCore/SparseSelfAdjointView.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/SparseCore/SparseSelfAdjointView.h b/Eigen/src/SparseCore/SparseSelfAdjointView.h index b0c2e472e..97e7293c7 100644 --- a/Eigen/src/SparseCore/SparseSelfAdjointView.h +++ b/Eigen/src/SparseCore/SparseSelfAdjointView.h @@ -137,14 +137,14 @@ template<typename MatrixType, unsigned int _Mode> class SparseSelfAdjointView SparseSelfAdjointView& operator=(const SparseSelfAdjointView& src) { - PermutationMatrix<Dynamic> pnull; + PermutationMatrix<Dynamic,Dynamic,StorageIndex> pnull; return *this = src.twistedBy(pnull); } template<typename SrcMatrixType,unsigned int SrcMode> SparseSelfAdjointView& operator=(const SparseSelfAdjointView<SrcMatrixType,SrcMode>& src) { - PermutationMatrix<Dynamic> pnull; + PermutationMatrix<Dynamic,Dynamic,StorageIndex> pnull; return *this = src.twistedBy(pnull); } |