mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-30 09:41:15 +08:00
Added todo [skip ci]
This commit is contained in:
@@ -876,6 +876,8 @@ sparsevec_l2_normalize(PG_FUNCTION_ARGS)
|
||||
for (int i = 0; i < a->nnz; i++)
|
||||
{
|
||||
result->indices[i] = a->indices[i];
|
||||
|
||||
/* TODO Remove zeros */
|
||||
rx[i] = ax[i] / norm;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user