diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-11-06 09:25:26 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-11-06 09:25:26 +0100 |
commit | 722916e19d86b224ec6c705e24d376def524154b (patch) | |
tree | f68ce5ba93b0ab12fbd838e6254b99086730901c /Eigen/src/Core/Array.h | |
parent | c6fefe5d8e3eda8af05c7dcb278551598dbb5d8e (diff) |
bug #903: clean swap API regarding extra enable_if parameters, and add failtests for swap
Diffstat (limited to 'Eigen/src/Core/Array.h')
-rw-r--r-- | Eigen/src/Core/Array.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Eigen/src/Core/Array.h b/Eigen/src/Core/Array.h index eaee8847b..337086615 100644 --- a/Eigen/src/Core/Array.h +++ b/Eigen/src/Core/Array.h @@ -258,13 +258,6 @@ class Array *this = other; } - /** Override MatrixBase::swap() since for dynamic-sized matrices of same type it is enough to swap the - * data pointers. - */ - template<typename OtherDerived> - void swap(ArrayBase<OtherDerived> const & other) - { this->_swap(other.derived()); } - EIGEN_DEVICE_FUNC inline Index innerStride() const { return 1; } EIGEN_DEVICE_FUNC inline Index outerStride() const { return this->innerSize(); } |