dfsm: Fix floating point comparison in dfsm-probabilities.h
authorPhilip Withnall <philip@tecnocode.co.uk>
Sat, 28 Jan 2012 12:56:25 +0000 (12:56 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sat, 28 Jan 2012 12:56:25 +0000 (12:56 +0000)
commitdc4933f08d5903998a7abfd0b5f96bf007b3c195
tree484c4e35e2c4c04f111bedc7568f8da8841659db
parentcec3d082e17b483ba8f1bcd3489057812359dd94
dfsm: Fix floating point comparison in dfsm-probabilities.h

We should be comparing the absolute difference to DBL_EPSILON, rather than
asserting the two floating point numbers are bitwise equal.
dfsm/dfsm-probabilities.h