diff options
author | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2012-09-25 09:53:40 +0200 |
---|---|---|
committer | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2012-09-25 09:53:40 +0200 |
commit | a01371548dc66ee8cbfac8effd5f560bf5d5697a (patch) | |
tree | 67ff5e2b68f97f534cb48161821257260e6a908a /Eigen/src/SparseLU/SparseLU_Utils.h | |
parent | 7740127e3da88512d409bf0b2a045f373d067af1 (diff) |
Define sparseLU functions as static
Diffstat (limited to 'Eigen/src/SparseLU/SparseLU_Utils.h')
-rw-r--r-- | Eigen/src/SparseLU/SparseLU_Utils.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index 316b09ab0..b13930dbb 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -15,8 +15,8 @@ /** * \brief Count Nonzero elements in the factors */ -template <typename IndexVector, typename ScalarVector> -void LU_countnz(const int n, int& nnzL, int& nnzU, LU_GlobalLU_t<IndexVector, ScalarVector>& glu) +template <typename Scalar, typename Index> +void SparseLUBase<Scalar,Index>::LU_countnz(const int n, int& nnzL, int& nnzU, GlobalLU_t& glu) { nnzL = 0; nnzU = (glu.xusub)(n); @@ -46,8 +46,8 @@ void LU_countnz(const int n, int& nnzL, int& nnzU, LU_GlobalLU_t<IndexVector, Sc * and applies permutation to the remaining subscripts * */ -template <typename IndexVector, typename ScalarVector> -void LU_fixupL(const int n, const IndexVector& perm_r, LU_GlobalLU_t<IndexVector, ScalarVector>& glu) +template <typename Scalar, typename Index> +void SparseLUBase<Scalar,Index>::LU_fixupL(const int n, const IndexVector& perm_r, GlobalLU_t& glu) { int fsupc, i, j, k, jstart; |