3b23803f0532c228a260ccae4853f972e044cf33,dm_control/mujoco/engine.py,Physics,check_invalid_state,#Physics#,253
Before Change
yield
warnings_raised = self.data.warning.number > warning_counts_before
if any(warnings_raised):
warning_names = [
enums.mjtWarning._fields[i] for i in np.where(warnings_raised)[0]]
raise _control.PhysicsError(
_INVALID_PHYSICS_STATE.format(warning_names=", ".join(warning_names)))
def __getstate__(self):
After Change
yield
np.greater(self._warnings, self._warnings_before, out=self._new_warnings)
if any(self._new_warnings):
warning_names = np.compress(self._new_warnings, enums.mjtWarning._fields)
raise _control.PhysicsError(
_INVALID_PHYSICS_STATE.format(warning_names=", ".join(warning_names)))
def __getstate__(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: deepmind/dm_control
Commit Name: 3b23803f0532c228a260ccae4853f972e044cf33
Time: 2019-03-22
Author: stunya@google.com
File Name: dm_control/mujoco/engine.py
Class Name: Physics
Method Name: check_invalid_state
Project Name: has2k1/plotnine
Commit Name: 527fde40b672a07a1e73871021dc0fc521631ec0
Time: 2015-11-14
Author: has2k1@gmail.com
File Name: ggplot/guides/guide_colorbar.py
Class Name: guide_colorbar
Method Name: train
Project Name: scipy/scipy
Commit Name: fafdd6001a8259f1408bc5f2c2cb91e5eb96c6ca
Time: 2020-08-05
Author: 44255917+swallan@users.noreply.github.com
File Name: benchmarks/benchmarks/stats.py
Class Name: ContinuousFitAnalyticalMLEOverride
Method Name: setup