Skip to content

Commit

Permalink
correct index_path_prefix in __init__ function of static disk index (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wxyucs authored Nov 6, 2023
1 parent 3d58ceb commit 179927e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/_static_disk_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __init__(
_index = _native_dap.StaticDiskFloatIndex
self._index = _index(
distance_metric=dap_metric,
index_path_prefix=os.path.join(index_directory, index_prefix),
index_path_prefix=index_prefix,
num_threads=num_threads,
num_nodes_to_cache=num_nodes_to_cache,
cache_mechanism=cache_mechanism,
Expand Down

0 comments on commit 179927e

Please sign in to comment.