Skip to content

Commit 5e1c1db

Browse files
committed
ruff linting
1 parent 2652fd9 commit 5e1c1db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

femmt/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ def add_winding_insulations(self, inner_winding_insulation: List[List[float]]):
659659
The lowest winding number therefore is combined with index 0. The second lowest with index 1 and so on.
660660
:type inner_winding_insulation: List[List[float]]
661661
"""
662-
if inner_winding_insulation is [[]]:
662+
if inner_winding_insulation == [[]]:
663663
raise Exception("Inner winding insulations list cannot be empty.")
664664

665665
self.cond_cond = inner_winding_insulation

0 commit comments

Comments
 (0)