mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
expand unit-tests and fix const-qualifaction bugs thus discovered
This commit is contained in:
@@ -57,7 +57,7 @@ template<typename MatrixType> class Opposite : NoDefaultOperatorEquals,
|
||||
};
|
||||
|
||||
template<typename Scalar, typename Derived>
|
||||
Opposite<Derived>
|
||||
const Opposite<Derived>
|
||||
MatrixBase<Scalar, Derived>::operator-() const
|
||||
{
|
||||
return Opposite<Derived>(static_cast<const Derived*>(this)->ref());
|
||||
|
||||
Reference in New Issue
Block a user