Skip to content

Commit b58a340

Browse files
committed
chore: Fix problems with algorithms-keeper bot
1 parent 0e346b2 commit b58a340

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

matrix/count_negative_numbers_in_sorted_matrix.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"""
77

88

9-
def find_negative_index(array: list[int]):
9+
def find_negative_index(array: list[int]) -> int:
1010
"""
1111
Find the smallest negative index
1212
@@ -139,7 +139,10 @@ def generate_large_matrix() -> list[list[int]]:
139139

140140

141141
def benchmark() -> None:
142-
"""Benchmark our functions next to each other"""
142+
"""Benchmark our functions next to each other
143+
144+
>>> benchmark()
145+
"""
143146
from timeit import timeit
144147

145148
print("Running benchmarks")

0 commit comments

Comments
 (0)