From 6a002421c0dedcd75fcded25c423c7f906b4acd6 Mon Sep 17 00:00:00 2001 From: Gijs Lagerweij Date: Sat, 27 Mar 2021 19:26:13 +0100 Subject: [PATCH] Fixed issue where circuit.params would become inconsistent due to modification in loop over itself --- SLiCAP/SLiCAPprotos/SLiCAPprotos.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/SLiCAP/SLiCAPprotos/SLiCAPprotos.py b/SLiCAP/SLiCAPprotos/SLiCAPprotos.py index e63e3e89..84b54170 100644 --- a/SLiCAP/SLiCAPprotos/SLiCAPprotos.py +++ b/SLiCAP/SLiCAPprotos/SLiCAPprotos.py @@ -334,8 +334,6 @@ def updateParams(self): for par in self.params: if par != ini.Laplace and par != ini.frequency and par not in list(self.parDefs.keys()): undefined.append(par) - else: - self.params.remove(par) self.params = undefined return