diff --git a/include/core/problem/problem.h b/include/core/problem/problem.h
index 470d9fe07d56e973314cf5e18d35d40cd3007310..d8c0c92dec44f7c38f36b042096d9a1a7c8d9808 100644
--- a/include/core/problem/problem.h
+++ b/include/core/problem/problem.h
@@ -270,6 +270,7 @@ class Problem : public std::enable_shared_from_this<Problem>
         // Zero state provider
         Eigen::VectorXd zeroState ( ) const;
         bool priorIsSet() const;
+        void setPriorIsSet(bool _prior_is_set);
 
         // Map branch -----------------------------------------
         MapBasePtr getMap() const;
@@ -361,6 +362,11 @@ inline bool Problem::priorIsSet() const
     return prior_is_set_;
 }
 
+inline void Problem::setPriorIsSet(bool _prior_is_set)
+{
+    prior_is_set_ = _prior_is_set;
+}
+
 inline IsMotionPtr Problem::getProcessorIsMotion()
 {
     if (!processor_is_motion_list_.empty())