diff --git a/oommfc/drivers/hysteresisdriver.py b/oommfc/drivers/hysteresisdriver.py index cbd02cf..9920e7a 100644 --- a/oommfc/drivers/hysteresisdriver.py +++ b/oommfc/drivers/hysteresisdriver.py @@ -81,7 +81,7 @@ def _checkargs(self, kwargs): self._checkvalues(kwargs["Hmin"], kwargs["Hmax"], kwargs["n"]) kwargs["Hsteps"] = [ [kwargs["Hmin"], kwargs["Hmax"], kwargs["n"]], - [kwargs["Hmax"], kwargs["Hmin"], kwargs["n"]] + [kwargs["Hmax"], kwargs["Hmin"], kwargs["n"]], ] elif "Hsteps" in kwargs: # case of multiple hysteresis sweep steps