Skip to content

Commit

Permalink
Varargs in CallbackState
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobunse committed Jun 7, 2024
1 parent f3a0dc0 commit e30373c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qunfold/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _callback(self, xk):
self._xk = xk
self._nit += 1
def callback(self):
return lambda xk: self._callback(xk)
return lambda xk, *args: self._callback(xk)

class GenericMethod:
"""A generic quantification / unfolding method.
Expand Down

0 comments on commit e30373c

Please sign in to comment.