mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-03 03:00:56 +08:00
Fixed compilation with Postgres 16 - fixes #61
This commit is contained in:
@@ -822,7 +822,7 @@ vector_accum(PG_FUNCTION_ARGS)
|
||||
if (newarr)
|
||||
{
|
||||
for (int i = 0; i < dim; i++)
|
||||
statedatums[i + 1] = Float8GetDatumFast(x[i]);
|
||||
statedatums[i + 1] = Float8GetDatumFast((double) x[i]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user