aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SparseLU/SparseLU_pivotL.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-01-12 11:55:16 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-01-12 11:55:16 +0100
commit38fa432e075c31b0dff17ed98dd27cad01046ea8 (patch)
treefb504db5d98fab45ab6f2ba6fc9d3c8a04b7f590 /Eigen/src/SparseLU/SparseLU_pivotL.h
parent50625834e64616d798e8a28a66f0eef638dc2801 (diff)
Clean inclusion, namespace definition, and documentation of SparseLU
Diffstat (limited to 'Eigen/src/SparseLU/SparseLU_pivotL.h')
-rw-r--r--Eigen/src/SparseLU/SparseLU_pivotL.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Eigen/src/SparseLU/SparseLU_pivotL.h b/Eigen/src/SparseLU/SparseLU_pivotL.h
index 5df7d837a..67e748026 100644
--- a/Eigen/src/SparseLU/SparseLU_pivotL.h
+++ b/Eigen/src/SparseLU/SparseLU_pivotL.h
@@ -29,6 +29,9 @@
*/
#ifndef SPARSELU_PIVOTL_H
#define SPARSELU_PIVOTL_H
+
+namespace Eigen {
+
/**
* \brief Performs the numerical pivotin on the current column of L, and the CDIV operation.
*
@@ -123,4 +126,7 @@ int SparseLUBase<Scalar,Index>::LU_pivotL(const int jcol, const RealScalar diagp
lu_col_ptr[k] *= temp;
return 0;
}
-#endif \ No newline at end of file
+
+} // end namespace Eigen
+
+#endif // SPARSELU_PIVOTL_H