Skip to content

Commit

Permalink
- temporyry fix for optimization with output file
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19443 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Vitalij Ruge committed Mar 5, 2014
1 parent d0660ec commit 3c38125
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SimulationRuntime/c/optimization/mainOptimizer/ipoptODE.c
Expand Up @@ -217,7 +217,9 @@ static int res2file(IPOPT_DATA_ *iData,SOLVER_INFO* solverInfo)
solverInfo->currentTime = iData->time[iData->current_time++];
sData->timeValue = solverInfo->currentTime;

updateDiscreteSystem(data);
/*updateDiscreteSystem(data);*/
data->callback->input_function(data);
data->callback->functionDAE(data);

sim_result.emit(&sim_result,data);
}
Expand Down

0 comments on commit 3c38125

Please sign in to comment.