Skip to content
Snippets Groups Projects
Commit af5fcda7 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[Python][Test] fix tolerance

parent 9ddb2d4f
No related branches found
Tags v4.3.1
No related merge requests found
Pipeline #3094 passed
......@@ -37,7 +37,7 @@ class TestSpline(unittest.TestCase):
prim = a.compute_primitive(2)
for i in range(10):
t = float(i) / 10.
assert_allclose(a(t), prim.derivate(t, 2))
assert_allclose(a(t), prim.derivate(t, 2), atol=1e-20)
assert_allclose(prim(0), matrix([0., 0., 0.]).T)
waypoints = matrix([[1., 2., 3.], [4., 5., 6.], [4., 5., 6.], [4., 5., 6.], [4., 5., 6.]]).T
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment