Improved consistency with vector [skip ci]

This commit is contained in:
Andrew Kane
2024-04-23 21:13:00 -07:00
parent ed2e460f00
commit 034713c803

View File

@@ -788,7 +788,7 @@ sparsevec_inner_product(PG_FUNCTION_ARGS)
CheckDims(a, b);
PG_RETURN_FLOAT8(SparsevecInnerProduct(a, b));
PG_RETURN_FLOAT8((double) SparsevecInnerProduct(a, b));
}
/*
@@ -803,7 +803,7 @@ sparsevec_negative_inner_product(PG_FUNCTION_ARGS)
CheckDims(a, b);
PG_RETURN_FLOAT8(-SparsevecInnerProduct(a, b));
PG_RETURN_FLOAT8((double) -SparsevecInnerProduct(a, b));
}
/*