Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix an issue that occurs when SD_simulate is called with a positive
authorsuter <frederic.suter@cc.in2p3.fr>
Fri, 12 Oct 2012 22:57:03 +0000 (00:57 +0200)
committersuter <frederic.suter@cc.in2p3.fr>
Fri, 12 Oct 2012 22:57:21 +0000 (00:57 +0200)
commit97fbb37cce6bc8da3b1f72909bacb5e896a8ae3c
treede15da4f3e8c32230754e59b739ed454f4839d6e
parentcfcc26205c43c7ee01341db3d2910f5efbd2fa6b
fix an issue that occurs when SD_simulate is called with a positive
value (simulate for X seconds). The simulation does not always stop
after the expected duration.
Cause: The "less than" test is sometimes tricky with doubles.
Fix: Replace by "difference smaller than 0.00001 (the maxmin precision).

+ indent
+ one more verbose message
src/simdag/sd_global.c