parent
f7c2b9419f
commit
c30dcea24d
2 changed files with 8 additions and 2 deletions
|
|
@ -765,8 +765,8 @@ class Slice(Value):
|
|||
|
||||
super().__init__(src_loc_at=src_loc_at)
|
||||
self.value = Value.cast(value)
|
||||
self.start = start
|
||||
self.stop = stop
|
||||
self.start = int(start)
|
||||
self.stop = int(stop)
|
||||
|
||||
def shape(self):
|
||||
return Shape(self.stop - self.start)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue