aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Eigen2Support/LeastSquares.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Eigen2Support/LeastSquares.h')
-rw-r--r--Eigen/src/Eigen2Support/LeastSquares.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Eigen2Support/LeastSquares.h b/Eigen/src/Eigen2Support/LeastSquares.h
index 4b62ffa92..427118949 100644
--- a/Eigen/src/Eigen2Support/LeastSquares.h
+++ b/Eigen/src/Eigen2Support/LeastSquares.h
@@ -25,6 +25,8 @@
#ifndef EIGEN2_LEASTSQUARES_H
#define EIGEN2_LEASTSQUARES_H
+namespace Eigen {
+
/** \ingroup LeastSquares_Module
*
* \leastsquares_module
@@ -178,5 +180,6 @@ void fitHyperplane(int numPoints,
result->offset() = - (result->normal().cwise()* mean).sum();
}
+} // end namespace Eigen
#endif // EIGEN2_LEASTSQUARES_H