aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Sparse/SuperLUSupport.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-06-03 08:41:11 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-06-03 08:41:11 +0200
commit8350ab9fb85d278cf2687efc86d211b25741c657 (patch)
tree495359fc672163d7bdd0e294cb0d12a0e2b2d233 /Eigen/src/Sparse/SuperLUSupport.h
parent38d8352b7bc6c839297aee11a91e64aff4d51aff (diff)
* remove ei_index, and let ei_traits propagate the index types
* add an Index type template parapeter to sparse objects
Diffstat (limited to 'Eigen/src/Sparse/SuperLUSupport.h')
-rw-r--r--Eigen/src/Sparse/SuperLUSupport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Sparse/SuperLUSupport.h b/Eigen/src/Sparse/SuperLUSupport.h
index 18a967539..d93f69df8 100644
--- a/Eigen/src/Sparse/SuperLUSupport.h
+++ b/Eigen/src/Sparse/SuperLUSupport.h
@@ -267,8 +267,8 @@ SluMatrix SparseMatrixBase<Derived>::asSluMatrix()
}
/** View a Super LU matrix as an Eigen expression */
-template<typename Scalar, int Flags>
-MappedSparseMatrix<Scalar,Flags>::MappedSparseMatrix(SluMatrix& sluMat)
+template<typename Scalar, int Flags, typename _Index>
+MappedSparseMatrix<Scalar,Flags,_Index>::MappedSparseMatrix(SluMatrix& sluMat)
{
if ((Flags&RowMajorBit)==RowMajorBit)
{