Skip to content

Commit

Permalink
Merge pull request #367 from younik/fix-ad
Browse files Browse the repository at this point in the history
Fix ad integration tests
  • Loading branch information
younik authored Feb 5, 2025
2 parents a336aeb + ea00a99 commit 5f05c09
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- jaxlib >= 0.4.26
- jaxlie >= 1.3.0
- jax-dataclasses >= 1.4.0
- optax == 0.2.3
- optax >= 0.2.3
- pptree
- qpax
- rod >= 0.3.3
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dependencies = [
"jaxlie >= 1.3.0",
"jax_dataclasses >= 1.4.0",
"pptree",
"optax == 0.2.3",
"optax >= 0.2.3",
"qpax",
"rod >= 0.3.3",
"typing_extensions ; python_version < '3.12'",
Expand Down
4 changes: 2 additions & 2 deletions src/jaxsim/rbda/contacts/relaxed_rigid.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@ class RelaxedRigidContacts(common.ContactModel):
"""Relaxed rigid contacts model."""

_solver_options_keys: jax_dataclasses.Static[tuple[str, ...]] = dataclasses.field(
default=("tol", "maxiter", "memory_size"), kw_only=True
default=("tol", "maxiter", "memory_size", "scale_init_precond"), kw_only=True
)
_solver_options_values: jax_dataclasses.Static[tuple[Any, ...]] = dataclasses.field(
default=(1e-6, 50, 10), kw_only=True
default=(1e-6, 50, 10, False), kw_only=True
)

@property
Expand Down

0 comments on commit 5f05c09

Please sign in to comment.