fix: mypy complaints
This commit is contained in:
parent
f6dc9c8e7f
commit
75c6d5bacd
7 changed files with 26 additions and 23 deletions
|
|
@ -36,6 +36,9 @@ def simulate_policy(
|
|||
|
||||
import mujoco.viewer
|
||||
|
||||
if state is None:
|
||||
raise ValueError("A valid environment state must be provided.")
|
||||
|
||||
model = state.mj_model
|
||||
data = state.mj_data
|
||||
|
||||
|
|
|
|||
Reference in a new issue