Check that alignment is power of 2 in mj_stackAlloc.
PiperOrigin-RevId: 562024496 Change-Id: I9230c6dc05ebb78e935f9b2f606aa77c921d67e5
This commit is contained in:
committed by
Copybara-Service
parent
29aa5e4a41
commit
33f51856c1
@@ -948,7 +948,7 @@ Euler integrator, semi-implicit in velocity.
|
||||
def test_can_raise_error(self):
|
||||
self.data.pstack = self.data.narena
|
||||
with self.assertRaisesRegex(mujoco.FatalError,
|
||||
r'\AmjData stack overflow'):
|
||||
r'\Amj_stackAlloc: insufficient memory:'):
|
||||
mujoco.mj_forward(self.model, self.data)
|
||||
|
||||
def test_mjcb_time(self):
|
||||
|
||||
Reference in New Issue
Block a user