mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-07 13:10:56 +08:00
Added space before comment [skip ci]
This commit is contained in:
@@ -681,6 +681,7 @@ vector_spherical_distance(PG_FUNCTION_ARGS)
|
|||||||
dp += a->x[i] * b->x[i];
|
dp += a->x[i] * b->x[i];
|
||||||
|
|
||||||
distance = (double) dp;
|
distance = (double) dp;
|
||||||
|
|
||||||
/* Prevent NaN with acos with loss of precision */
|
/* Prevent NaN with acos with loss of precision */
|
||||||
if (distance > 1)
|
if (distance > 1)
|
||||||
distance = 1;
|
distance = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user