mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-02 18:50:56 +08:00
Added VECTOR_TARGET_CLONES to VectorL1Distance [skip ci]
This commit is contained in:
@@ -729,7 +729,8 @@ vector_spherical_distance(PG_FUNCTION_ARGS)
|
||||
PG_RETURN_FLOAT8(acos(distance) / M_PI);
|
||||
}
|
||||
|
||||
static float
|
||||
/* Does not require FMA, but keep logic simple */
|
||||
VECTOR_TARGET_CLONES static float
|
||||
VectorL1Distance(int dim, float *ax, float *bx)
|
||||
{
|
||||
float distance = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user