diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-01-28 15:30:33 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-01-28 15:30:33 +0100 |
commit | 6ec660ca7e12e2225156ab6e47ddaed7d857ff06 (patch) | |
tree | d8eb984513ab6e20e92b9f1ae8be7e8cc78cdf13 /unsupported/Eigen/src/AutoDiff | |
parent | af712e80e6572a8fa1a8599dd98796b722052650 (diff) |
fix crash in autodiff
Diffstat (limited to 'unsupported/Eigen/src/AutoDiff')
-rw-r--r-- | unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h b/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h index 455adcadb..7517035d9 100644 --- a/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +++ b/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h @@ -566,6 +566,9 @@ template<typename DerType> struct NumTraits<AutoDiffScalar<DerType> > { typedef AutoDiffScalar<DerType> NonInteger; typedef AutoDiffScalar<DerType>& Nested; + enum{ + RequireInitialization = 1 + }; }; } |