mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-04 08:18:46 +00:00
Added space before comment [skip ci]
This commit is contained in:
1 parent
37b49b0a37
commit
e45c84fd46
1 file changed
+1
@@ -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