diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-01-12 11:55:16 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-01-12 11:55:16 +0100 |
commit | 38fa432e075c31b0dff17ed98dd27cad01046ea8 (patch) | |
tree | fb504db5d98fab45ab6f2ba6fc9d3c8a04b7f590 /Eigen/src/SparseLU/SparseLU_Utils.h | |
parent | 50625834e64616d798e8a28a66f0eef638dc2801 (diff) |
Clean inclusion, namespace definition, and documentation of SparseLU
Diffstat (limited to 'Eigen/src/SparseLU/SparseLU_Utils.h')
-rw-r--r-- | Eigen/src/SparseLU/SparseLU_Utils.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index b13930dbb..e764823ae 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -11,6 +11,7 @@ #ifndef EIGEN_SPARSELU_UTILS_H #define EIGEN_SPARSELU_UTILS_H +namespace Eigen { /** * \brief Count Nonzero elements in the factors @@ -37,8 +38,8 @@ void SparseLUBase<Scalar,Index>::LU_countnz(const int n, int& nnzL, int& nnzU, G jlen--; } } - } + /** * \brief Fix up the data storage lsub for L-subscripts. * @@ -72,4 +73,6 @@ void SparseLUBase<Scalar,Index>::LU_fixupL(const int n, const IndexVector& perm_ glu.xlsub(n) = nextl; } -#endif +} // end namespace Eigen + +#endif // EIGEN_SPARSELU_UTILS_H |