"git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "38d292e54113c42db0ad4214a45076c97b697e57"
Unverified Commit d24a4533 authored by Mario Geiger's avatar Mario Geiger Committed by GitHub
Browse files

Update storage.py

parent 9586b8be
...@@ -277,7 +277,7 @@ class SparseStorage(object): ...@@ -277,7 +277,7 @@ class SparseStorage(object):
idx = self.sparse_size(1) * self.row() + self.col() idx = self.sparse_size(1) * self.row() + self.col()
row = idx / num_cols row = idx // num_cols
col = idx % num_cols col = idx % num_cols
return SparseStorage(row=row, rowptr=None, col=col, value=self._value, return SparseStorage(row=row, rowptr=None, col=col, value=self._value,
......
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