We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f01eea9 commit e665060Copy full SHA for e665060
mujoco_warp/_src/constraint.py
@@ -527,7 +527,8 @@ def _efc_friction_tendon(
527
):
528
worldid, tenid = wp.tid()
529
530
- if tendon_frictionloss[worldid, tenid] <= 0.0:
+ frictionloss = tendon_frictionloss[worldid, tenid]
531
+ if frictionloss <= 0.0:
532
return
533
534
efcid = wp.atomic_add(nefc_out, 0, 1)
@@ -553,7 +554,7 @@ def _efc_friction_tendon(
553
554
tendon_solimp_fri[worldid, tenid],
555
0.0,
556
Jqvel,
- tendon_frictionloss[worldid, tenid],
557
+ frictionloss,
558
tenid,
559
efc_id_out,
560
efc_pos_out,
0 commit comments