diff --git a/test/gtest_simulation_problem_force_torque_inertial_dynamics.cpp b/test/gtest_simulation_problem_force_torque_inertial_dynamics.cpp index 3cf239ae7564a2080533bddfdf00325a430d596a..bcad1070805729c5c22a0c55621f354577589063 100644 --- a/test/gtest_simulation_problem_force_torque_inertial_dynamics.cpp +++ b/test/gtest_simulation_problem_force_torque_inertial_dynamics.cpp @@ -356,15 +356,16 @@ TEST_F(Test_SimulationProblemForceTorqueInertialDynamics_yaml, preintegration_an << "\n"; } + fout.close(); } TEST_F(Test_SimulationProblemForceTorqueInertialDynamics_yaml, simulation) { // Calibration params - Vector6d bias_guess = S->getStateBlock('I')->getState(); - Vector3d cdm_guess = S->getStateBlock('C')->getState(); + Vector6d bias_guess = S->getStateBlock('I')->getState(); + Vector3d cdm_guess = S->getStateBlock('C')->getState(); Vector3d inertia_guess = S->getStateBlock('i')->getState(); - double mass_guess = S->getStateBlock('m')->getState()(0); + double mass_guess = S->getStateBlock('m')->getState()(0); S->getStateBlock('P')->fix(); S->getStateBlock('O')->fix();