summaryrefslogtreecommitdiffhomepage
path: root/eigen/unsupported/Eigen/src/AutoDiff
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/unsupported/Eigen/src/AutoDiff')
-rw-r--r--eigen/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/eigen/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h b/eigen/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h
index d280886..279fe5c 100644
--- a/eigen/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h
+++ b/eigen/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h
@@ -683,4 +683,11 @@ template<typename DerType> struct NumTraits<AutoDiffScalar<DerType> >
}
+namespace std {
+template <typename T>
+class numeric_limits<Eigen::AutoDiffScalar<T> >
+ : public numeric_limits<typename T::Scalar> {};
+
+} // namespace std
+
#endif // EIGEN_AUTODIFF_SCALAR_H