mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
add cast<newtype>() function to casts the scalars to another type.
This commit is contained in:
@@ -42,7 +42,8 @@ template<typename MatrixType> class Conjugate
|
||||
Conjugate(const Conjugate& other)
|
||||
: m_matrix(other.m_matrix) {}
|
||||
|
||||
EI_INHERIT_ASSIGNMENT_OPERATORS(Conjugate)
|
||||
// assignments are illegal but we still want to intercept them and get clean compile errors
|
||||
EI_INHERIT_ASSIGNMENT_OPERATORS(Conjugate)
|
||||
|
||||
private:
|
||||
const Conjugate& _ref() const { return *this; }
|
||||
|
||||
Reference in New Issue
Block a user