aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Eigen/src/Core/DenseStorage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/DenseStorage.h b/Eigen/src/Core/DenseStorage.h
index 67507db28..8a68316df 100644
--- a/Eigen/src/Core/DenseStorage.h
+++ b/Eigen/src/Core/DenseStorage.h
@@ -180,7 +180,7 @@ template<typename T, int Size, int _Options> class DenseStorage<T, Size, Dynamic
m_rows = other.m_rows;
m_cols = other.m_cols;
}
- other.swap(*this); return *this;
+ return *this;
}
DenseStorage(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) : m_rows(nbRows), m_cols(nbCols) {}
void swap(DenseStorage& other)