mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
bug #1063: nest AutoDiffScalar by value to avoid dead references
This commit is contained in:
parent
ae87f094eb
commit
9ceaa8e445
@ -629,7 +629,7 @@ template<typename DerType> struct NumTraits<AutoDiffScalar<DerType> >
|
||||
typedef AutoDiffScalar<Matrix<typename NumTraits<typename DerType::Scalar>::Real,DerType::RowsAtCompileTime,DerType::ColsAtCompileTime,
|
||||
DerType::Options, DerType::MaxRowsAtCompileTime, DerType::MaxColsAtCompileTime> > Real;
|
||||
typedef AutoDiffScalar<DerType> NonInteger;
|
||||
typedef AutoDiffScalar<DerType>& Nested;
|
||||
typedef AutoDiffScalar<DerType> Nested;
|
||||
enum{
|
||||
RequireInitialization = 1
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user