diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2013-08-03 10:09:31 +0200 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2013-08-03 10:09:31 +0200 |
commit | 8710440951860e7dbf4382916244e5fed498d756 (patch) | |
tree | 66422ab6e07d51979a37dd05401414287f942294 /Eigen/src/Core/DenseStorage.h | |
parent | 8fdffdd573e6d36b04cde595460887dd4e1a2340 (diff) |
Removed errornous swap for stack storage.
Diffstat (limited to 'Eigen/src/Core/DenseStorage.h')
-rw-r--r-- | Eigen/src/Core/DenseStorage.h | 2 |
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) |