mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-14 08:36:54 +08:00
Added test for halfvec sum
This commit is contained in:
@@ -50,6 +50,11 @@ sub test_aggregate
|
|||||||
like($res, qr/,2\.5/);
|
like($res, qr/,2\.5/);
|
||||||
like($res, qr/,3\.5/);
|
like($res, qr/,3\.5/);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
# Does not raise overflow error in this instance due to loss of precision
|
||||||
|
is($res, "[24576,24576,49152]")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
test_aggregate('avg');
|
test_aggregate('avg');
|
||||||
|
|||||||
Reference in New Issue
Block a user