Skip to content

Commit

Permalink
Allow RigidContactsState.valid to accept kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Sep 27, 2024
1 parent 486cc2b commit a7531ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/jaxsim/rbda/contacts/relaxed_rigid.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def zero(cls: type[Self], **kwargs) -> Self:

return cls.build()

def valid(self, *, model: js.model.JaxSimModel) -> jtp.BoolLike:
def valid(self, **kwargs) -> jtp.BoolLike:
return True


Expand Down
2 changes: 1 addition & 1 deletion src/jaxsim/rbda/contacts/rigid.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def zero(cls: type[Self], **kwargs) -> Self:

return cls.build()

def valid(self) -> jtp.BoolLike:
def valid(self, **kwargs) -> jtp.BoolLike:
return True


Expand Down

0 comments on commit a7531ae

Please sign in to comment.