diff options
Diffstat (limited to 'extern/libmv/third_party/ceres/include/ceres/jet.h')
-rw-r--r-- | extern/libmv/third_party/ceres/include/ceres/jet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extern/libmv/third_party/ceres/include/ceres/jet.h b/extern/libmv/third_party/ceres/include/ceres/jet.h index 55caa05dbac..81f96c70f73 100644 --- a/extern/libmv/third_party/ceres/include/ceres/jet.h +++ b/extern/libmv/third_party/ceres/include/ceres/jet.h @@ -649,6 +649,8 @@ struct NumTraits<ceres::Jet<T, N> > { return ceres::Jet<T, N>(1e-12); } + static inline Real epsilon() { return Real(std::numeric_limits<T>::epsilon()); } + enum { IsComplex = 0, IsInteger = 0, |