From 9dd33b204b883e9fff9c936fb7ffbe34081e305b Mon Sep 17 00:00:00 2001 From: Laura Mendoza Date: Fri, 15 Nov 2019 17:39:43 +0100 Subject: [PATCH] [quick-bf] I variable name was left un-refactored --- tofu/geom/_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tofu/geom/_core.py b/tofu/geom/_core.py index 103d3dc77..2563fd688 100644 --- a/tofu/geom/_core.py +++ b/tofu/geom/_core.py @@ -2025,7 +2025,7 @@ def current(self): def set_current(self, current=None): """ Set the current circulating on the coil (A) """ - C0 = I is None + C0 = current is None C1 = type(current) in [int, float, np.int64, np.float64] C2 = type(current) in [list, tuple, np.ndarray] msg = "Arg current must be None, a float or an 1D np.ndarray !"