From cb2993dce710d9cd46535a54a5e87c30a18a99f9 Mon Sep 17 00:00:00 2001
From: Dinesh Atchuthan <datchuth@laas.fr>
Date: Tue, 22 Nov 2016 11:48:47 +0100
Subject: [PATCH] correction

---
 src/examples/test_imu_constraintAHP.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/examples/test_imu_constraintAHP.cpp b/src/examples/test_imu_constraintAHP.cpp
index 1b44ec966..75ea63c47 100644
--- a/src/examples/test_imu_constraintAHP.cpp
+++ b/src/examples/test_imu_constraintAHP.cpp
@@ -116,7 +116,7 @@ int main(int argc, char** argv)
     //make final a keyframe
     ts = wolf_problem_ptr_->getProcessorMotionPtr()->getBuffer().get().back().ts_;
     state_vec = wolf_problem_ptr_->getProcessorMotionPtr()->getCurrentState();
-    FrameBasePtr last_frame = std::make_shared<FrameIMU>(KEY_FRAME, ts, state_vec);
+    last_frame = std::make_shared<FrameIMU>(KEY_FRAME, ts, state_vec);
     wolf_problem_ptr_->getTrajectoryPtr()->addFrame(last_frame);
 
 
-- 
GitLab