Skip to content

Commit

Permalink
Initialize __mutability__ in jaxsim_dataclass
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Jul 31, 2023
1 parent be8877b commit 12b4bbb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/jaxsim/utils/jaxsim_dataclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
class JaxsimDataclass(abc.ABC):
""""""

# This attribute is set by jax_dataclasses
__mutability__ = None

@contextlib.contextmanager
def editable(self: Self, validate: bool = True) -> ContextManager[Self]:
""""""
Expand Down

0 comments on commit 12b4bbb

Please sign in to comment.