Relax comparison to make test pass in float32
Merge pull request #365 from lamblin/fix_float32

Relax comparison to make test pass in float32