-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
When I ran the tests, a couple tests failed because of floating point equality. The numbers were almost the same, but very slightly different. e.g., in test_msd_ratio
assert ft.msd_ratio(dframe, 1, 9) == 0.09708430006771959
# assert 0.09708430006771954 == 0.09708430006771959This is only present in test_features.py in
test_msd_ratiotest_alpha_calctest_gyration_tensortest_boundnesstest_efficiency
In all of these, static floating point values are on one side of the equality check ==.
Metadata
Metadata
Assignees
Labels
No labels