drop kind from var
This commit is contained in:
parent
41ccd20a6e
commit
2e3ff68be6
2 changed files with 5 additions and 6 deletions
4
stl.py
4
stl.py
|
|
@ -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'])):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue