Skip to content
Snippets Groups Projects
Commit 2668f5bd authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

removed commented lines

parent 9be1e9d5
No related branches found
No related tags found
1 merge request!274Resolve "Emplace API inconsistent with ProcessorTrackerFeature/Landmark functions"
This commit is part of merge request !274. Comments created here will be created in the context of that merge request.
...@@ -180,11 +180,6 @@ class FactorBase : public NodeBase, public std::enable_shared_from_this<FactorBa ...@@ -180,11 +180,6 @@ class FactorBase : public NodeBase, public std::enable_shared_from_this<FactorBa
protected: protected:
void setFeature(const FeatureBasePtr _ft_ptr){feature_ptr_ = _ft_ptr;} 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 ...@@ -199,25 +194,6 @@ class FactorBase : public NodeBase, public std::enable_shared_from_this<FactorBa
namespace wolf{ 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> template<typename classType, typename... T>
std::shared_ptr<FactorBase> FactorBase::emplace(FeatureBasePtr _ftr_ptr, T&&... all) std::shared_ptr<FactorBase> FactorBase::emplace(FeatureBasePtr _ftr_ptr, T&&... all)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment