Skip to content

Commit

Permalink
Replace deprecated function.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 627568947
Change-Id: Id3c7f0b17895b3400f34ecc7bbb78007f37a54ba
  • Loading branch information
btaba authored and copybara-github committed Apr 24, 2024
1 parent 8d283c9 commit cc3868e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/model_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class MjxModelsTest(parameterized.TestCase):
@parameterized.parameters(_MJX_MODEL_XMLS)
def test_compiles_and_steps(self, xml_path: pathlib.Path) -> None:
model = mujoco.MjModel.from_xml_path(str(xml_path))
model = mjx.device_put(model)
model = mjx.put_model(model)
data = mjx.make_data(model)
ctrlrange = jp.where(
model.actuator_ctrllimited[:, None],
Expand Down

0 comments on commit cc3868e

Please sign in to comment.