提交 07b2e5d5 编写于 作者: Z Z-TAO 提交者: emailweixu

Fix dataprovider converter for sparse data

上级 652b8347
...@@ -63,7 +63,8 @@ class SparseBinaryScanner(IScanner): ...@@ -63,7 +63,8 @@ class SparseBinaryScanner(IScanner):
def scan(self, dat): def scan(self, dat):
self.extend_cols(dat) self.extend_cols(dat)
self.__rows__.append(len(dat)) self.__rows__.append(len(dat) + self.__rows__[-1])
self.__height__ += 1
def extend_cols(self, dat): def extend_cols(self, dat):
self.__cols__.extend(dat) self.__cols__.extend(dat)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册