aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SparseLU/SparseLU_pruneL.h
diff options
context:
space:
mode:
authorGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-06-14 18:45:04 +0200
committerGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-06-14 18:45:04 +0200
commit0c9b08e46e7507d9f13200f0702bc57ed6aae52c (patch)
treebc319fe32b4bdfa8dd601082e25c508606f53853 /Eigen/src/SparseLU/SparseLU_pruneL.h
parentf8a0745cb0426eb3095dbea24288a64eddab04f0 (diff)
build complete... almost
Diffstat (limited to 'Eigen/src/SparseLU/SparseLU_pruneL.h')
-rw-r--r--Eigen/src/SparseLU/SparseLU_pruneL.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/SparseLU/SparseLU_pruneL.h b/Eigen/src/SparseLU/SparseLU_pruneL.h
index c006f6707..42218ba4a 100644
--- a/Eigen/src/SparseLU/SparseLU_pruneL.h
+++ b/Eigen/src/SparseLU/SparseLU_pruneL.h
@@ -61,10 +61,10 @@
* \param glu Global LU data
*
*/
-template <typename IndexVector, typename ScalarVector>
-void LU_pruneL(const int jcol, const IndexVector& perm_r, const int pivrow, const int nseg, const IndexVector& segrep, IndexVector& repfnz, IndexVector& xprune, LU_GlobalLU_t<IndexVector, ScalarVector>& glu)
+template <typename IndexVector, typename ScalarVector, typename BlockIndexVector>
+void LU_pruneL(const int jcol, const IndexVector& perm_r, const int pivrow, const int nseg, const IndexVector& segrep, BlockIndexVector& repfnz, IndexVector& xprune, LU_GlobalLU_t<IndexVector, ScalarVector>& glu)
{
- typedef typename IndexVector::Index Index;
+ typedef typename IndexVector::Scalar Index;
typedef typename ScalarVector::Scalar Scalar;
// Initialize pointers
IndexVector& xsup = glu.xsup;
@@ -78,7 +78,7 @@ void LU_pruneL(const int jcol, const IndexVector& perm_r, const int pivrow, cons
int jsupno = supno(jcol);
int i,irep,irep1;
bool movnum, do_prune = false;
- Index kmin, kmax, ktemp, minloc, maxloc,krow;
+ Index kmin, kmax, minloc, maxloc,krow;
for (i = 0; i < nseg; i++)
{
irep = segrep(i);