Skip to content

Commit

Permalink
fix missing argument dr problem
Browse files Browse the repository at this point in the history
  • Loading branch information
YigitElma committed Oct 7, 2024
1 parent 9631353 commit 891c914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desc/basis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1509,7 +1509,7 @@ def custom_jvp_with_jit(func):
custom_jvp,
nondiff_argnums=(3,),
)
def dummy(r, l, m, dr):
def dummy(r, l, m, dr=0):
return func(r, l, m, dr)

@dummy.defjvp
Expand Down

0 comments on commit 891c914

Please sign in to comment.