Skip to content

Commit a321210

Browse files
authored
Fix uninitialised counter variable (#1095)
* Fix uninitialised counter variable
1 parent 76d8eb6 commit a321210

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/amuse/community/huayno/src/evolve_sf.c

+1
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ static struct particle *partition(FLOAT dt, struct particle *left, struct partic
321321
{
322322
UINT i,n;
323323
dt=fabs(dt);
324+
i=0;
324325
n=right-left+1;
325326
while(1)
326327
{

0 commit comments

Comments
 (0)