Skip to content

Commit 98241a6

Browse files
committed
Fix same as 73ace5f
1 parent 0925d92 commit 98241a6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/mcp/test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ int main(int argc, char *argv[])
3131
double tmp2[2];
3232

3333
double **ans;
34-
double *ic; /* initial conditions */
34+
float *ic; /* initial conditions */
3535

3636
equilibrium_t *e;
3737

@@ -65,7 +65,7 @@ int main(int argc, char *argv[])
6565
compute_density(&(e->propellant));
6666

6767

68-
ic = (double *) malloc (sizeof(double) * NEQ);
68+
ic = (float *) malloc (sizeof(float) * NEQ);
6969

7070
if ( (ans = (double **) malloc (sizeof(double *) * (NPOINT+1))) == NULL)
7171
{

libs/libnum/test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,11 @@ int test_rk4(void)
256256
{
257257
int i, n;
258258
double *ans;
259-
double *ic;
259+
float *ic;
260260

261261
printf("\nTesting the RK4 and RKF algorythm.\n");
262262

263-
ic = (double *) malloc(sizeof(double) * 4);
263+
ic = (float *) malloc(sizeof(float) * 4);
264264

265265
ic[0] = 0;
266266
ic[1] = 100;

0 commit comments

Comments
 (0)