Skip to content

Commit

Permalink
- fix ANSI C (variable declaration before any other statements) to ma…
Browse files Browse the repository at this point in the history
…ke MSVC compiler happy

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15929 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Apr 29, 2013
1 parent d8af539 commit 1927fb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SimulationRuntime/c/simulation/solver/radau.c
Expand Up @@ -301,9 +301,9 @@ static int allocateKINSOLODE(KINODE *kinOde)
int nn; /* 3*N*n = N*(subintervalls) * 3*var(eq,low,up)*nStates */
int i, j, k;
double* ceq,*clow,*cup;
m = kinOde->N*n;
nn = 3*m;
KDATAODE * kData = (kinOde)->kData;
m = kinOde->N*n;
nn = 3*m;
kData->x = N_VNew_Serial(nn);
kData->sVars = N_VNew_Serial(nn);
kData->sEqns = N_VNew_Serial(nn);
Expand Down

0 comments on commit 1927fb6

Please sign in to comment.