diff options
author | fahim-oscad | 2016-04-18 11:56:26 +0530 |
---|---|---|
committer | fahim-oscad | 2016-04-18 11:56:26 +0530 |
commit | a17747edc9d3829603358b8de48e7b2ce1ba5e09 (patch) | |
tree | 8a146a3e6e422de2203626059da018bd3aea32b0 /src/ngspicetoModelica | |
parent | 6cb70b28dd399fb2bc460b7412fddbfd59c8244d (diff) | |
download | eSim-a17747edc9d3829603358b8de48e7b2ce1ba5e09.tar.gz eSim-a17747edc9d3829603358b8de48e7b2ce1ba5e09.tar.bz2 eSim-a17747edc9d3829603358b8de48e7b2ce1ba5e09.zip |
Gnd issue solved
Diffstat (limited to 'src/ngspicetoModelica')
-rw-r--r-- | src/ngspicetoModelica/NgspicetoModelica.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 8509a883..813f1a5e 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -454,7 +454,7 @@ class NgMoConverter: else: continue - if '0' or 'gnd' in node: + if '0' in node: modelicaCompInit.append('Analog.Basic.Ground g;') return modelicaCompInit, numNodesSub @@ -647,7 +647,7 @@ class NgMoConverter: connInfo.append(conn) else: continue - if '0' or 'gnd' in node: + if '0' in node: conn = 'connect(g.p,n0);' connInfo.append(conn) |