Skip to content

Commit 179927e

Browse files
authored
correct index_path_prefix in __init__ function of static disk index (#483)
1 parent 3d58ceb commit 179927e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/src/_static_disk_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __init__(
101101
_index = _native_dap.StaticDiskFloatIndex
102102
self._index = _index(
103103
distance_metric=dap_metric,
104-
index_path_prefix=os.path.join(index_directory, index_prefix),
104+
index_path_prefix=index_prefix,
105105
num_threads=num_threads,
106106
num_nodes_to_cache=num_nodes_to_cache,
107107
cache_mechanism=cache_mechanism,

0 commit comments

Comments
 (0)