Fix test threshold for external tests.

PiperOrigin-RevId: 670720396
Change-Id: I28bff46535ffdd99724c75f8137834d84c3ec534
This commit is contained in:
Baruch Tabanpour
2024-09-03 15:05:52 -07:00
committed by Copybara-Service
parent 49711fa14f
commit 303e5e7718
+1 -1
View File
@@ -95,7 +95,7 @@ class SolverTest(parameterized.TestCase):
# lower (due to slight differences in the MJX linsearch algorithm)
mj_cost = cost(d.qacc)
mjx_cost = cost(dx.qacc)
self.assertLess(mjx_cost, mj_cost * 1.01)
self.assertLess(mjx_cost, mj_cost * 1.015)
def test_no_warmstart(self):
"""Test no warmstart."""