mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
Make ball_ensemble_collision.c compatible with ancient Centos 7 C compiler.
This commit is contained in:
parent
35a2c91c86
commit
0e646e9792
@ -19,7 +19,8 @@ double ball_ensemble_collision( BSTATE * states[2] ) {
|
|||||||
double event_tgo;
|
double event_tgo;
|
||||||
event_tgo = BIG_TGO;
|
event_tgo = BIG_TGO;
|
||||||
|
|
||||||
for (int i=0 ; i < 2 ; i++) {
|
int i;
|
||||||
|
for (i=0 ; i<2 ; i++) {
|
||||||
tgo = ball_ceiling( states[i]);
|
tgo = ball_ceiling( states[i]);
|
||||||
if (tgo < event_tgo) event_tgo = tgo;
|
if (tgo < event_tgo) event_tgo = tgo;
|
||||||
tgo = ball_floor( states[i] ) ;
|
tgo = ball_floor( states[i] ) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user