drop kind from var

This commit is contained in:
Marcell Vazquez-Chanlatte 2016-07-09 20:27:04 -07:00
parent 41ccd20a6e
commit 2e3ff68be6
2 changed files with 5 additions and 6 deletions

4
stl.py
View file

@ -28,10 +28,10 @@ class LinEq(namedtuple("LinEquality", ["terms", "op", "const"])):
return []
class Var(namedtuple("Var", ["kind", "id", "time"])):
class Var(namedtuple("Var", ["id", "time"])):
def __repr__(self):
time_str = "[{}]".format(self.time)
return "{i}{t}".format(k=self.kind.name, i=self.id, t=time_str)
return "{i}{t}".format(i=self.id, t=time_str)
class Interval(namedtuple('I', ['lower', 'upper'])):