diff --git a/src/amuse/community/huayno/src/evolve_sf.c b/src/amuse/community/huayno/src/evolve_sf.c index d6b3ad1044..02c623189d 100644 --- a/src/amuse/community/huayno/src/evolve_sf.c +++ b/src/amuse/community/huayno/src/evolve_sf.c @@ -321,6 +321,7 @@ static struct particle *partition(FLOAT dt, struct particle *left, struct partic { UINT i,n; dt=fabs(dt); + i=0; n=right-left+1; while(1) {