Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
feat(indexer): add indexer info
Browse files Browse the repository at this point in the history
  • Loading branch information
jemmyshin committed Sep 10, 2019
1 parent b2b2cc9 commit 2c2a4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_simple_indexer.py
Expand Up @@ -26,7 +26,7 @@ def _test_any(self, cls):
a = cls()
self.assertEqual(a.num_chunks, 0)
a.add(self.key_offset, self.weights)
self.assertEqual(a.size, self.num_sample)
self.assertEqual(a.num_chunks, self.num_sample)

res1 = a.query(self.query)
res2 = [(*self.key_offset[q], self.weights[q]) for q in self.query]
Expand Down

0 comments on commit 2c2a4d8

Please sign in to comment.