summaryrefslogtreecommitdiffstats
path: root/src/opt/fxu/fxuUpdate.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2011-11-12 22:20:26 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2011-11-12 22:20:26 -0800
commitcd2f13c09d1fc7320d1c66232d91501b34ffa25f (patch)
tree2f43fa67fb4470dcdc4088f2613bf1c3b6749a6f /src/opt/fxu/fxuUpdate.c
parentdf3e23ae3a20d0f6b8a1d3512e322b98057eb136 (diff)
downloadabc-cd2f13c09d1fc7320d1c66232d91501b34ffa25f.tar.gz
abc-cd2f13c09d1fc7320d1c66232d91501b34ffa25f.tar.bz2
abc-cd2f13c09d1fc7320d1c66232d91501b34ffa25f.zip
Making computation in 'fx' run-to-run reproducible.
Diffstat (limited to 'src/opt/fxu/fxuUpdate.c')
-rw-r--r--src/opt/fxu/fxuUpdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opt/fxu/fxuUpdate.c b/src/opt/fxu/fxuUpdate.c
index 74939896..b48961e1 100644
--- a/src/opt/fxu/fxuUpdate.c
+++ b/src/opt/fxu/fxuUpdate.c
@@ -739,7 +739,7 @@ void Fxu_UpdateAddNewDoubles( Fxu_Matrix * p, Fxu_Cube * pCube )
continue;
// to prevent adding duplicated pairs of the new cubes
// do not add the pair, if the current cube is marked
- if ( pTemp->pOrder && pTemp >= pCube )
+ if ( pTemp->pOrder && pTemp->iCube >= pCube->iCube )
continue;
Fxu_MatrixAddDivisor( p, pTemp, pCube );
}