Skip to content

Commit b594bab

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5eabeb6 commit b594bab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dataset_reader/sparse_reader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
def read_sparse_matrix_fields(
11-
filename: Union[Path, str]
11+
filename: Union[Path, str],
1212
) -> Tuple[np.array, np.array, np.array]:
1313
"""Read the fields of a CSR matrix without instantiating it"""
1414

@@ -68,7 +68,7 @@ def read_csr_matrix(filename: Union[Path, str], do_mmap=True) -> Iterator[Sparse
6868

6969

7070
def knn_result_read(
71-
filename: Union[Path, str]
71+
filename: Union[Path, str],
7272
) -> Tuple[List[List[int]], List[List[float]]]:
7373
n, d = map(int, np.fromfile(filename, dtype="uint32", count=2))
7474
assert os.stat(filename).st_size == 8 + n * d * (4 + 4)

0 commit comments

Comments
 (0)