mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-30 01:31:15 +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];
|
||||
|
||||
distance = (double) dp;
|
||||
|
||||
/* Prevent NaN with acos with loss of precision */
|
||||
if (distance > 1)
|
||||
distance = 1;
|
||||
|
||||
Reference in New Issue
Block a user