From 722916e19d86b224ec6c705e24d376def524154b Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 6 Nov 2014 09:25:26 +0100 Subject: bug #903: clean swap API regarding extra enable_if parameters, and add failtests for swap --- Eigen/src/Core/Matrix.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Eigen/src/Core/Matrix.h') diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index bb6c75387..0b3d90786 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -360,15 +360,6 @@ class Matrix *this = other; } - /** \internal - * \brief Override MatrixBase::swap() since for dynamic-sized matrices - * of same type it is enough to swap the data pointers. - */ - template - EIGEN_DEVICE_FUNC - void swap(MatrixBase 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(); } -- cgit v1.2.3