Skip to content

Commit c5bbb3d

Browse files
committed
Fix bug in previous commit
1 parent 276a131 commit c5bbb3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/demo_planar_hsa_motor2ee_jacobian.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ def jac_phi2chi_static_model_fn(phi: Array) -> Tuple[Array, Dict[str, Array]]:
179179

180180
print("i", i, "phi", phi)
181181

182-
q, aux = phi2chi_static_model_fn(phi, q0=q0)
183-
print("phi", phi, "q", q)
182+
chi, aux = phi2chi_static_model_fn(phi, q0=q0)
183+
print("phi", phi, "q", aux["q"], "chi", chi)
184184

185185
# J_phi2chi_autodiff, aux = J_phi2chi_autodiff_fn(phi)
186186
# J_phi2chi, aux = J_phi2chi_fn(phi)

0 commit comments

Comments
 (0)