Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1204eb0

Browse files
committed
minor fix
1 parent 19c0efe commit 1204eb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/bigarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _checkcache(self, index):
6969
self.chunks[self.cache.index] = filename
7070
if not (self.cache and self.cache.index == index):
7171
with open(self.chunks[index], "rb") as fp:
72-
self.cache = (index, pickle.load(fp), False)
72+
self.cache = Cache(index, pickle.load(fp), False)
7373

7474
def __getitem__(self, y):
7575
index = y / BIGARRAY_CHUNK_LENGTH

0 commit comments

Comments
 (0)