pgvector.git / summary / log / commit / refs
commit 9d15a76b601fc75a3f8223b9deed96bbd0539c8a
Author: Andrew Kane <andrew@ankane.org>
Date: Fri Oct 11 18:20:36 2024 +0000
Improved enum naming [skip ci]
src/hnsw.h | 4 ++--
src/ivfflat.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/hnsw.h b/src/hnsw.h
index 5f170dda..6b184ecd 100644
--- a/src/hnsw.h
+++ b/src/hnsw.h
@@ -113,12 +113,12 @@ extern int hnsw_iterative_search;
extern int hnsw_max_search_tuples;
extern int hnsw_lock_tranche_id;
-typedef enum HnswIterativeSearchType
+typedef enum HnswIterativeSearchMode
{
HNSW_ITERATIVE_SEARCH_OFF,
HNSW_ITERATIVE_SEARCH_RELAXED,
HNSW_ITERATIVE_SEARCH_STRICT
-} HnswIterativeSearchType;
+} HnswIterativeSearchMode;
typedef struct HnswElementData HnswElementData;
typedef struct HnswNeighborArray HnswNeighborArray;
diff --git a/src/ivfflat.h b/src/ivfflat.h
index 1ca37adf..71acb43b 100644
--- a/src/ivfflat.h
+++ b/src/ivfflat.h
@@ -83,11 +83,11 @@ extern int ivfflat_probes;
extern int ivfflat_iterative_search;
extern int ivfflat_max_probes;
-typedef enum IvfflatIterativeSearchType
+typedef enum IvfflatIterativeSearchMode
{
IVFFLAT_ITERATIVE_SEARCH_OFF,
IVFFLAT_ITERATIVE_SEARCH_RELAXED
-} IvfflatIterativeSearchType;
+} IvfflatIterativeSearchMode;
typedef struct VectorArrayData
{
[parent: a3a20f981613]