Program Listing for File constants.h¶
↰ Return to documentation for file (manif/ceres/constants.h
)
#ifndef _MANIF_MANIF_CERES_CONSTANTS_H_
#define _MANIF_MANIF_CERES_CONSTANTS_H_
#include "manif/constants.h"
#include <ceres/jet.h>
#include <ceres/version.h>
namespace manif {
template <typename _Scalar, int N>
struct Constants<ceres::Jet<_Scalar, N>>
{
static const ceres::Jet<_Scalar, N> eps;
};
template <typename _Scalar, int N>
const ceres::Jet<_Scalar, N>
Constants<ceres::Jet<_Scalar, N>>::eps =
ceres::Jet<_Scalar, N>(Constants<_Scalar>::eps);
} /* namespace manif */
#endif /* _MANIF_MANIF_CERES_CONSTANTS_H_ */