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

typo

parent 8819288a
......@@ -418,10 +418,10 @@ class SparseTensor(object):
dim += 1
elif item == Ellipsis:
if self.dim() - len(index) < dim:
raise SyntaxError()
raise SyntaxError
dim = self.dim() - len(index)
else:
raise SyntaxError()
raise SyntaxError
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