mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-05 04:00:55 +08:00
Removed type-specific code from IVFFlat - #527
This commit is contained in:
@@ -978,7 +978,7 @@ halfvec_subvector(PG_FUNCTION_ARGS)
|
||||
/*
|
||||
* Internal helper to compare half vectors
|
||||
*/
|
||||
int
|
||||
static int
|
||||
halfvec_cmp_internal(HalfVector * a, HalfVector * b)
|
||||
{
|
||||
int dim = Min(a->dim, b->dim);
|
||||
|
||||
Reference in New Issue
Block a user