mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
implement scalar operators separately for each type using a macro.
This is required e.g. to allow "2 * m" with m a matrix of doubles.
This commit is contained in:
@@ -50,7 +50,7 @@ template<typename MatrixType> class MatrixMinor
|
||||
MatrixMinor(const MatrixMinor& other)
|
||||
: m_matrix(other.m_matrix), m_row(other.m_row), m_col(other.m_col) {}
|
||||
|
||||
INHERIT_ASSIGNMENT_OPERATORS(MatrixMinor)
|
||||
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(MatrixMinor)
|
||||
|
||||
private:
|
||||
const Ref& _ref() const { return *this; }
|
||||
|
||||
Reference in New Issue
Block a user