From 2668f5bd5ae966924ff04f625013eefa11dda869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Mon, 27 May 2019 11:22:02 +0200 Subject: [PATCH] removed commented lines --- include/core/factor/factor_base.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/include/core/factor/factor_base.h b/include/core/factor/factor_base.h index 9baf4488a..ef3825efd 100644 --- a/include/core/factor/factor_base.h +++ b/include/core/factor/factor_base.h @@ -180,11 +180,6 @@ class FactorBase : public NodeBase, public std::enable_shared_from_this<FactorBa protected: void setFeature(const FeatureBasePtr _ft_ptr){feature_ptr_ = _ft_ptr;} -// protected: -// template<typename D> -// void print(const std::string& name, const Eigen::MatrixBase<D>& mat) const; // Do nothing if input Scalar type is ceres::Jet -// template<int R, int C> -// void print(const std::string& name, const Eigen::Matrix<Scalar, R, C>& mat) const; // Normal print if Scalar type is wolf::Scalar }; } @@ -199,25 +194,6 @@ class FactorBase : public NodeBase, public std::enable_shared_from_this<FactorBa namespace wolf{ -//template<typename D> -//inline void FactorBase::print(const std::string& name, const Eigen::MatrixBase<D>& mat) const {} // Do nothing if input Scalar type is ceres::Jet -//template<int R, int C> -//inline void FactorBase::print(const std::string& name, const Eigen::Matrix<Scalar, R, C>& mat) const // Normal print if Scalar type is wolf::Scalar -//{ -// if (mat.cols() == 1) -// { -// WOLF_TRACE(name, ": ", mat.transpose()); -// } -// else if (mat.rows() == 1) -// { -// WOLF_TRACE(name, ": ", mat); -// } -// else -// { -// WOLF_TRACE(name, ":\n", mat); -// } -//} - template<typename classType, typename... T> std::shared_ptr<FactorBase> FactorBase::emplace(FeatureBasePtr _ftr_ptr, T&&... all) { -- GitLab