mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-06 09:18:52 +00:00
Updated [skip ci]
This commit is contained in:
1 parent
39004e72ac
commit
c50ba7eeaa
1 file changed
-1
@@ -96,7 +96,6 @@ RandomChoice(VectorArray samples, VectorArray centers)
|
||||
{
|
||||
VectorArrayShuffle(samples);
|
||||
|
||||
/* TODO Handle less samples than centers */
|
||||
for (int i = 0; i < centers->maxlen; i++)
|
||||
VectorArrayAdd(centers, VectorArrayGet(samples, i < samples->length ? i : 0));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user