Commit 07f97c95 authored by Philipp Arras's avatar Philipp Arras
Browse files

fixup! Add test that checks if numpy.vdot is actually inaccurate

parent b50a9e77
Pipeline #105145 passed with stages
in 16 minutes and 17 seconds
......@@ -25,7 +25,6 @@ def _check(a, b):
res0 = np.vdot(a, b)
res1 = vdot(a, b)
rel_error = np.abs((res0-res1)/(res0+res1)*2)
assert rel_error < 1e-6
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment