mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-30 17:51:18 +08:00
Improved l2_normalize test for sparsevec [skip ci]
This commit is contained in:
@@ -328,3 +328,9 @@ SELECT l2_normalize('{1:3e38,2:1e-37}/2'::sparsevec);
|
||||
{1:1}/2
|
||||
(1 row)
|
||||
|
||||
SELECT l2_normalize('{2:3e37,4:3e-37,6:4e37,8:4e-37}/9'::sparsevec);
|
||||
l2_normalize
|
||||
-----------------
|
||||
{2:0.6,6:0.8}/9
|
||||
(1 row)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user