aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Conjugate.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Core/Conjugate.h')
-rw-r--r--Eigen/src/Core/Conjugate.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Eigen/src/Core/Conjugate.h b/Eigen/src/Core/Conjugate.h
index 3fbe29402..00797c2ff 100644
--- a/Eigen/src/Core/Conjugate.h
+++ b/Eigen/src/Core/Conjugate.h
@@ -48,9 +48,6 @@ template<typename MatrixType> class Conjugate : NoOperatorEquals,
Conjugate(const MatRef& matrix) : m_matrix(matrix) {}
- Conjugate(const Conjugate& other)
- : m_matrix(other.m_matrix) {}
-
private:
static const int _RowsAtCompileTime = MatrixType::RowsAtCompileTime,
_ColsAtCompileTime = MatrixType::ColsAtCompileTime;
@@ -75,7 +72,7 @@ template<typename Scalar, typename Derived>
const Conjugate<Derived>
MatrixBase<Scalar, Derived>::conjugate() const
{
- return Conjugate<Derived>(static_cast<const Derived*>(this)->ref());
+ return Conjugate<Derived>(ref());
}
/** \returns an expression of the adjoint (i.e. conjugate transpose) of *this.