numerical issues, change the tolerance for running on GH
@@ -52,7 +52,7 @@ class TestTrajectory(unittest.TestCase):
self.assertAlmostEqual(s[-1], s2)
self.assertAlmostEqual(s[5], 1.5)
- self.assertTrue(np.all(sd >= -10 * _eps)) # velocity is >= 0
+ self.assertTrue(np.all(sd >= -100 * _eps)) # velocity is >= 0, some numeric issues hence the possible small negative allowance
self.assertAlmostEqual(sd[0], 0)
self.assertAlmostEqual(sd[-1], 0)
