From 7a2b6060ca3f62c12e6bff12c0a8631bff811c1c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 10:36:30 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- oommfc/drivers/hysteresisdriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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