mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
Removed unneeded cast [skip ci]
This commit is contained in:
@@ -646,10 +646,10 @@ intvec_cmp_internal(IntVector * a, IntVector * b)
|
||||
/* Check values before dimensions to be consistent with Postgres arrays */
|
||||
for (int i = 0; i < dim; i++)
|
||||
{
|
||||
if ((int) a->x[i] < (int) b->x[i])
|
||||
if (a->x[i] < b->x[i])
|
||||
return -1;
|
||||
|
||||
if ((int) a->x[i] > (int) b->x[i])
|
||||
if (a->x[i] > b->x[i])
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user