Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
urigoren authored Apr 5, 2022
1 parent 6ab0b80 commit 9cb4bbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ This is a golang interface of [hnswlib](https://github.com/nmslib/hnswlib). For

# Compile (Optional)
```bash
git clone github.com/evan176/hnswgo
git clone github.com/evan176/hnswgo.git
cd hnswgo && make
sudo cp libhnsw.so /usr/local/lib
ldconfig
Expand Down
1 change: 1 addition & 0 deletions hnsw_wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ HNSW loadHNSW(char *location, int dim, char stype) {

HNSW saveHNSW(HNSW index, char *location) {
((hnswlib::HierarchicalNSW<float>*)index)->saveIndex(location);
return ((hnswlib::HierarchicalNSW<float>*)index);
}

void freeHNSW(HNSW index) {
Expand Down

0 comments on commit 9cb4bbc

Please sign in to comment.