From 01572b9f54e769a7d1bb3d5073c264a5fbc7ce42 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 10 Mar 2008 17:23:11 +0000 Subject: big change: MatrixBase only takes one template parameter "Derived", the template parameter "Scalar" is removed. This is achieved by introducting a template struct Scalar to achieve a forward-declaration of the Scalar typedefs. --- Eigen/src/Core/Swap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Eigen/src/Core/Swap.h') diff --git a/Eigen/src/Core/Swap.h b/Eigen/src/Core/Swap.h index 3a0a387b0..c7a1199fa 100644 --- a/Eigen/src/Core/Swap.h +++ b/Eigen/src/Core/Swap.h @@ -25,11 +25,11 @@ #ifndef EIGEN_SWAP_H #define EIGEN_SWAP_H -template +template template -void MatrixBase::swap(const MatrixBase& other) +void MatrixBase::swap(const MatrixBase& other) { - MatrixBase *_other = const_cast*>(&other); + MatrixBase *_other = const_cast*>(&other); if(Traits::SizeAtCompileTime == Dynamic) { Scalar tmp; -- cgit v1.2.3