aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Swap.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Core/Swap.h')
-rw-r--r--Eigen/src/Core/Swap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Swap.h b/Eigen/src/Core/Swap.h
index db096e6f2..cffdb1cc6 100644
--- a/Eigen/src/Core/Swap.h
+++ b/Eigen/src/Core/Swap.h
@@ -63,7 +63,7 @@ void MatrixBase<Derived>::swap(const MatrixBase<OtherDerived>& other)
}
else // SizeAtCompileTime != Dynamic
{
- typename Eval<Derived>::MatrixType buf(*this);
+ typename Derived::Eval buf(*this);
*this = other;
*_other = buf;
}