Got unexpected token + of type PLUS
Seems weird to be able to put a minus sign but not a plus?
finesse.exceptions.KatParserError:
line 14:16: Got unexpected token + of type PLUS
ad l EOM1.p2.o +100M
^
From
import finesse
finesse.plotting.init()
base = finesse.Model()
base.parse("""
l L0 P=1
s s0 L0.p1 EOM1.p1
mod EOM1 (
f=100M
midx=0.1
order=1
mod_type=am
)
ad u EOM1.p2.o -100M
ad c EOM1.p2.o 0
ad l EOM1.p2.o +100M
fsig sig L0.amp
""")
sol = base.run()
print(sol['l'], sol['c'], sol['u'])
Edited by finesse importer