1
0
mirror of https://github.com/tensorchord/pgvecto.rs.git synced 2025-07-29 08:21:12 +03:00

fix: python test (#365)

Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>
This commit is contained in:
cutecutecat
2024-02-20 11:13:38 +08:00
committed by GitHub
parent 10c40c052b
commit 6e6902ec5c

View File

@ -55,7 +55,7 @@ EXPECTED_SQRT_EUCLID_DIS = [14.0, 2030.4756, 3.0]
OP_NEG_DOT_PROD_DIS = [1, 2, 4]
EXPECTED_NEG_DOT_PROD_DIS = [-17.0, 80.64, -7.0]
OP_NEG_COS_DIS = [3, 2, 1]
EXPECTED_NEG_COS_DIS = [-0.7142857, 0.5199225, -0.92582005]
EXPECTED_NEG_COS_DIS = [0.28571427, 1.5199225, 0.07417989]
# ==== test_delete ====
LEN_AFT_DEL = 2