mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-05 00:38:39 +00:00
Made vector_cmp_internal static [skip ci]
This commit is contained in:
1 parent
e7bd19910f
commit
5e62a12786
2 files changed
+1
-2
No files matched your search
+1
-1
@@ -1015,7 +1015,7 @@ subvector(PG_FUNCTION_ARGS)
|
||||
/*
|
||||
* Internal helper to compare vectors
|
||||
*/
|
||||
int
|
||||
static int
|
||||
vector_cmp_internal(Vector * a, Vector * b)
|
||||
{
|
||||
int dim = Min(a->dim, b->dim);
|
||||
|
||||
@@ -24,7 +24,6 @@ typedef struct Vector
|
||||
} Vector;
|
||||
|
||||
Vector *InitVector(int dim);
|
||||
int vector_cmp_internal(Vector * a, Vector * b);
|
||||
|
||||
/* TODO Move to better place */
|
||||
#if PG_VERSION_NUM >= 160000
|
||||
|
||||
Reference in new issue
Block a user