File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments