From 9d15a76b601fc75a3f8223b9deed96bbd0539c8a Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 11 Oct 2024 11:20:36 -0700 Subject: [PATCH] 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 5f170dd..6b184ec 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 1ca37ad..71acb43 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 {