fix crash in autodiff

This commit is contained in:
Gael Guennebaud 2011-01-28 15:30:33 +01:00
parent af712e80e6
commit 6ec660ca7e

View File

@ -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
};
}; };
} }