Skip to content

Commit

Permalink
Reverting kwargs to **kwargs in _checkargs
Browse files Browse the repository at this point in the history
  • Loading branch information
newton-per-sqm committed Oct 25, 2023
1 parent be573b3 commit c089c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oommfc/drivers/hysteresisdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class HysteresisDriver(Driver):
"report_wall_time",
]

def _checkargs(self, kwargs):
def _checkargs(self, **kwargs):
if any(item in kwargs for item in ["Hmin", "Hmax", "n"]) and "Hsteps" in kwargs:
# unwanted case of beeing (Hmin, Hmax, n) and Hsteps both defined
msg = "Cannot define both (Hmin, Hmax, n) and Hsteps."
Expand Down

0 comments on commit c089c78

Please sign in to comment.