mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-01 10:11:20 +08:00
Added todo [skip ci]
This commit is contained in:
@@ -740,6 +740,7 @@ vector_to_halfvec(PG_FUNCTION_ARGS)
|
||||
for (int i = 0; i < vec->dim; i++)
|
||||
{
|
||||
result->x[i] = Float4ToHalfUnchecked(vec->x[i]);
|
||||
/* TODO Better error for overflow */
|
||||
CheckElement(result->x[i]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user