Skip to content

Commit af284e6

Browse files
committed
changed order of args
1 parent 1afdce0 commit af284e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ For other spaces use the nmslib library https://github.com/nmslib/nmslib.
4141
* `hnswlib.Index(space, dim)` creates a non-initialized index an HNSW in space `space` with integer dimension `dim`.
4242

4343
`hnswlib.Index` methods:
44-
* `init_index(max_elements, ef_construction = 200, M = 16, random_seed = 100)` initializes the index from with no elements.
44+
* `init_index(max_elements, M = 16, ef_construction = 200, random_seed = 100)` initializes the index from with no elements.
4545
* `max_elements` defines the maximum number of elements that can be stored in the structure(can be increased/shrunk).
4646
* `ef_construction` defines a construction time/accuracy trade-off (see [ALGO_PARAMS.md](ALGO_PARAMS.md)).
4747
* `M` defines tha maximum number of outgoing connections in the graph ([ALGO_PARAMS.md](ALGO_PARAMS.md)).

0 commit comments

Comments
 (0)