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

uups 2

parent 05207b48
No related branches found
No related tags found
No related merge requests found
Pipeline #3344 failed
......@@ -90,7 +90,7 @@ class CeresManager : public SolverManager
ceres::CostFunctionPtr createCostFunction(const FactorBasePtr& _fac_ptr);
virtual bool isFactorRegistered(const FactorBasePtr& fac_ptr);
virtual bool isFactorRegisteredDerived(const FactorBasePtr& fac_ptr);
virtual bool isStateBlockRegisteredDerived(const StateBlockPtr& state_ptr);
};
......@@ -105,7 +105,7 @@ inline ceres::Solver::Options& CeresManager::getSolverOptions()
return ceres_options_;
}
inline bool CeresManager::isFactorRegistered(const FactorBasePtr& fac_ptr)
inline bool CeresManager::isFactorRegisteredDerived(const FactorBasePtr& fac_ptr)
{
return fac_2_residual_idx_.find(fac_ptr) != fac_2_residual_idx_.end()
&& fac_2_costfunction_.find(fac_ptr) != fac_2_costfunction_.end();
......
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