Rename nstack to narena, change it and pstack to count bytes.
PiperOrigin-RevId: 561066311 Change-Id: I4d0e645e6c254dd906bfc42159e0e99149a7c6c8
This commit is contained in:
committed by
Copybara-Service
parent
b979a26b10
commit
daa2ac7f8b
@@ -946,7 +946,7 @@ Euler integrator, semi-implicit in velocity.
|
||||
mujoco.mjtDisableBit.mjDSBL_CONTACT)
|
||||
|
||||
def test_can_raise_error(self):
|
||||
self.data.pstack = self.data.nstack
|
||||
self.data.pstack = self.data.narena
|
||||
with self.assertRaisesRegex(mujoco.FatalError,
|
||||
r'\Amj_stackAllocByte: stack overflow'):
|
||||
mujoco.mj_forward(self.model, self.data)
|
||||
|
||||
Reference in New Issue
Block a user