diff options
Diffstat (limited to 'src/ngspicetoModelica/NgspicetoModelica.py')
-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 1c5e754c..bdbd6ac2 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -639,8 +639,8 @@ class NgMoConverter: tempstatList.append("Level=1" + " ") try: - l = mosInfo[words[0]]['l'] - tempstatList.append("L=" + self.getUnitVal(l) + " ") + mwl = mosInfo[words[0]]['l'] + tempstatList.append("L=" + self.getUnitVal(mwl) + " ") except KeyError: tempstatList.append("L=1e-6" + " ") try: |