Skip to content

Commit

Permalink
- fixed lagrange term
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18542 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Vitalij Ruge committed Dec 20, 2013
1 parent e0c6481 commit 5a09ffa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SimulationRuntime/c/optimization/goal/evalF.c
Expand Up @@ -82,6 +82,7 @@ Bool evalfF(Index n, double * v, Bool new_x, Number *objValue, void * useData)

for(; i<iData->nsi; ++i)
{
erg = 0.0;
for(j=0; j<iData->deg; ++j, x+=iData->nv, ++k)
{
goal_func_lagrange(x, &tmp, iData->time[k], iData);
Expand Down

0 comments on commit 5a09ffa

Please sign in to comment.