-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Naveen Tatikonda <[email protected]>
- Loading branch information
1 parent
51d257e
commit 07d00d9
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
#include <string> | ||
#include <vector> | ||
#include <unordered_map> | ||
#include <cstdint> | ||
|
||
namespace knn_jni { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/faiss/Clustering.h b/faiss/Clustering.h | ||
index ef1f00ad..ae341115 100644 | ||
--- a/faiss/Clustering.h | ||
+++ b/faiss/Clustering.h | ||
@@ -10,7 +10,7 @@ | ||
#ifndef FAISS_CLUSTERING_H | ||
#define FAISS_CLUSTERING_H | ||
#include <faiss/Index.h> | ||
- | ||
+#include <cstdint> | ||
#include <vector> | ||
|
||
namespace faiss { | ||
diff --git a/faiss/Index.h b/faiss/Index.h | ||
index 3d1bdb99..eaed1b14 100644 | ||
--- a/faiss/Index.h | ||
+++ b/faiss/Index.h | ||
@@ -16,6 +16,8 @@ | ||
#include <string> | ||
#include <typeinfo> | ||
|
||
+#include <cstdint> | ||
+ | ||
#define FAISS_VERSION_MAJOR 1 | ||
#define FAISS_VERSION_MINOR 8 | ||
#define FAISS_VERSION_PATCH 0 |