Hi,
When running the docker it often complains that packet size
probabilities don't sum to 1. For example:
"ERROR:root:0: Error using traffic matrix file
/data/tm/tm_00000_00000.txt at line 22. The sum of
probabilities of all packets sizes should be one"
In the above example, the line it complains about is the
following:
3,3,5610,0,0,760,0.44,1878,0.48,595,0.08,1
After some checks it seems that the error is due to exact
comparison of float sum of probabilities to 1, which may be
problematic with floats - e.g. 0.44 + 0.48 + 0.08 is
0.99999999999 and so statement "(0.44 + 0.48 + 0.08) == 1"
returns False
Is there a newer version of the docker with this fixed?