Commit 6f55824d authored by rusty1s's avatar rusty1s
Browse files

typo

parent 8819288a
...@@ -418,10 +418,10 @@ class SparseTensor(object): ...@@ -418,10 +418,10 @@ class SparseTensor(object):
dim += 1 dim += 1
elif item == Ellipsis: elif item == Ellipsis:
if self.dim() - len(index) < dim: if self.dim() - len(index) < dim:
raise SyntaxError() raise SyntaxError
dim = self.dim() - len(index) dim = self.dim() - len(index)
else: else:
raise SyntaxError() raise SyntaxError
return out return out
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment