aboutsummaryrefslogtreecommitdiff
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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Eigen/src/Eigen2Support/LeastSquares.h b/Eigen/src/Eigen2Support/LeastSquares.h
index 0e6fdb488..7992d4944 100644
--- a/Eigen/src/Eigen2Support/LeastSquares.h
+++ b/Eigen/src/Eigen2Support/LeastSquares.h
@@ -147,7 +147,6 @@ void fitHyperplane(int numPoints,
// compute the covariance matrix
CovMatrixType covMat = CovMatrixType::Zero(size, size);
- VectorType remean = VectorType::Zero(size);
for(int i = 0; i < numPoints; ++i)
{
VectorType diff = (*(points[i]) - mean).conjugate();