Skip to content

Commit d269917

Browse files
authored
fix (#3889)
Co-authored-by: ring630 <@gmail.com>
1 parent 67d35a8 commit d269917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyaedt/edb_core/edb_data/nets_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def serial_rlc(self):
239239
{
240240
i: v
241241
for i, v in self._app._nets[net].components.items()
242-
if list(set(v.nets).intersection(nets)) != [net]
242+
if list(set(v.nets).intersection(nets)) != [net] and v.type in ["Resistor", "Inductor", "Capacitor"]
243243
}
244244
)
245245
return comps_common

0 commit comments

Comments
 (0)