Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
paquiteau committed Feb 16, 2024
1 parent 1bf9617 commit e5bbe2a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modopt/base/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from modopt.interface.errors import warn


def check_callable(input_obj, add_agrs=True):
def check_callable(input_obj):
"""Check input object is callable.
This method checks if the input operator is a callable funciton and
Expand All @@ -23,8 +23,6 @@ def check_callable(input_obj, add_agrs=True):
----------
input_obj : callable
Callable function
add_agrs : bool, optional
Option to add support for agrs and kwargs (default is ``True``)
Returns
-------
Expand Down

0 comments on commit e5bbe2a

Please sign in to comment.