mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-30 07:44:10 +08:00
fix crash in autodiff
This commit is contained in:
parent
af712e80e6
commit
6ec660ca7e
@ -566,6 +566,9 @@ template<typename DerType> struct NumTraits<AutoDiffScalar<DerType> >
|
|||||||
{
|
{
|
||||||
typedef AutoDiffScalar<DerType> NonInteger;
|
typedef AutoDiffScalar<DerType> NonInteger;
|
||||||
typedef AutoDiffScalar<DerType>& Nested;
|
typedef AutoDiffScalar<DerType>& Nested;
|
||||||
|
enum{
|
||||||
|
RequireInitialization = 1
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user