Commit f18ac712 authored by Edward Fauchon-Jones's avatar Edward Fauchon-Jones

Relax mass ordering tolerance to 1e-3

parent 118f6a28
Pipeline #13160 passed with stage
in 1 minute and 4 seconds
......@@ -498,7 +498,7 @@ class MassOrdering(InterfieldSpec):
mass1 = sim.att('mass1')
mass2 = sim.att('mass2')
if mass1 >= mass2 or isclose(mass1, mass2, rel_tol=1e-5):
if mass1 >= mass2 or isclose(mass1, mass2, rel_tol=1e-3):
return err.ValidInterfield(self)
else:
return err.InvalidInterfield(self)
......@@ -632,7 +632,7 @@ class MassVsTimeOrdering(InterfieldSpec):
mass1 = sim['mass1-vs-time/Y'][0]
mass2 = sim['mass2-vs-time/Y'][0]
if mass1 >= mass2 or isclose(mass1, mass2, rel_tol=1e-5):
if mass1 >= mass2 or isclose(mass1, mass2, rel_tol=1e-3):
return err.ValidInterfield(self)
else:
return err.InvalidInterfield(self)
......
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