From ea74eacbf3ee8e20ebe12cc93e84b053cda4d65b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9d=C3=A9ric=20Fourmy?= <mfourmy@laas.fr> Date: Fri, 28 Jun 2019 13:14:10 +0200 Subject: [PATCH] Wrong warning fixed --- src/factor/factor_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/factor/factor_base.cpp b/src/factor/factor_base.cpp index 4e29f0bf7..a653807eb 100644 --- a/src/factor/factor_base.cpp +++ b/src/factor/factor_base.cpp @@ -157,7 +157,7 @@ void FactorBase::link(FeatureBasePtr _ftr_ptr) this->setFeature(_ftr_ptr); // set problem ( and register factor ) - WOLF_WARN_COND(this->getProblem() == nullptr, "ADDING FACTOR ", this->id(), " TO FEATURE ", _ftr_ptr->id(), " NOT CONNECTED WITH PROBLEM."); + WOLF_WARN_COND(_ftr_ptr->getProblem() == nullptr, "ADDING FACTOR ", this->id(), " TO FEATURE ", _ftr_ptr->id(), " THAT IS NOT CONNECTED WITH PROBLEM."); this->setProblem(_ftr_ptr->getProblem()); // constrained by -- GitLab