diff --git a/src/solver/solver_manager.cpp b/src/solver/solver_manager.cpp
index d39b12fdf51afed09ec2e19c097e55bd7e03e49d..24a674f5f517e7bbd5ac8448c8678a7517632b90 100644
--- a/src/solver/solver_manager.cpp
+++ b/src/solver/solver_manager.cpp
@@ -140,7 +140,6 @@ void SolverManager::addFactor(const FactorBasePtr& fac_ptr)
             WOLF_WARN("SolverManager::addFactor(): Factor ", fac_ptr->id(), " is notified to ADD but the involved state block ", st, " is not. Skipping, will be added later.");
             // put back notification in problem (will be added next update() call) and do nothing
             wolf_problem_->notifyFactor(fac_ptr, ADD);
-            assert(false);
             return;
         }
 
@@ -234,7 +233,6 @@ void SolverManager::removeStateBlock(const StateBlockPtr& state_ptr)
         for (auto fac : state_blocks_2_factors_.at(state_ptr))
             WOLF_INFO(fac->id());
         wolf_problem_->notifyStateBlock(state_ptr, REMOVE);
-        assert(false);
         return;
     }