Added todo [skip ci]

This commit is contained in:
Andrew Kane
2024-04-15 14:11:17 -07:00
parent 127ecdd650
commit ceeba6a134
3 changed files with 9 additions and 0 deletions

View File

@@ -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;
}