Use consistent style [skip ci]

This commit is contained in:
Andrew Kane committed 2026-10-26 14:40:45 -07:00
1 parent 69a3147385
commit 0dc5fa2ccb
1 file changed
-4
-4
View File
@@ -112,11 +112,9 @@ CheckIndex(int32 *indices, int i, int dim)
int32 index = indices[i];
if (index < 0 || index >= dim)
{
ereport(ERROR,
(errcode(ERRCODE_DATA_EXCEPTION),
errmsg("sparsevec index out of bounds")));
}
if (i > 0)
{
@@ -383,11 +381,9 @@ sparsevec_in(PG_FUNCTION_ARGS)
int32 index = elements[i].index;
if (index >= dim)
{
ereport(ERROR,
(errcode(ERRCODE_DATA_EXCEPTION),
errmsg("sparsevec index out of bounds")));
}
if (i > 0 && index == elements[i - 1].index)
ereport(ERROR,