mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-25 15:53:19 +08:00
AutoDiff: fix unary operator-
This commit is contained in:
parent
e22a523021
commit
ae3b6cc324
@ -213,7 +213,6 @@ class AutoDiffScalar
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename OtherDerType>
|
|
||||||
inline const AutoDiffScalar<CwiseUnaryOp<internal::scalar_opposite_op<Scalar>, const DerType> >
|
inline const AutoDiffScalar<CwiseUnaryOp<internal::scalar_opposite_op<Scalar>, const DerType> >
|
||||||
operator-() const
|
operator-() const
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user