From 7b9cabd084973e339110115b81591067b3d8677c Mon Sep 17 00:00:00 2001 From: Filippo Luca Ferretti Date: Mon, 2 Dec 2024 11:34:41 +0100 Subject: [PATCH] Fix instanciating contact parameter class --- src/jaxsim/api/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jaxsim/api/data.py b/src/jaxsim/api/data.py index b880547b9..bedd6009b 100644 --- a/src/jaxsim/api/data.py +++ b/src/jaxsim/api/data.py @@ -230,7 +230,7 @@ def build( ) else: - contacts_params = model.contact_model._parameters_class() + contacts_params = model.contact_model()._parameters_class() return JaxSimModelData( state=ode_state,