Skip to content

Commit

Permalink
[Janitor mode] Fix tabs
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18236 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Nov 22, 2013
1 parent 4be61a1 commit 5be90bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SimulationRuntime/c/optimization/lagrangeFun/ipopt_hessian.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ Bool ipopt_h(int n, double *v, Bool new_x, double obj_factor, int m, double *lam

if(p){
num_hessian(x, iData->time[p], iData, ll,iData->lagrange,mayer_yes,obj_factor);
ll += iData->nx;
ll += iData->nx;
}else{
for(i = 0; i< iData->nx; ++i)
iData->sh[i] = iData->d1[4]*(ll[i] - ll[i + iData->nx] + iData->invd1_4*ll[i+2*iData->nx]);
iData->sh[i] = iData->d1[4]*(ll[i] - ll[i + iData->nx] + iData->invd1_4*ll[i+2*iData->nx]);
num_hessian(x, iData->time[p], iData, iData->sh ,iData->lagrange,mayer_yes,obj_factor);
}

Expand Down

0 comments on commit 5be90bc

Please sign in to comment.