Skip to content

Commit

Permalink
Merge pull request #3 from urigoren/patch-1
Browse files Browse the repository at this point in the history
bugfixes
  • Loading branch information
evan176 authored Jun 22, 2022
2 parents 6ab0b80 + 9cb4bbc commit 39253a7
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 39253a7

Please sign in to comment.