Loose the limit of dimension when searching on a binary vector field (#6503)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/6516/head
dragondriver 2021-07-14 14:33:54 +08:00 committed by GitHub
parent f469a315d6
commit 7f99d9d714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class ConcurrentVectorImpl : public VectorBase {
public:
explicit ConcurrentVectorImpl(ssize_t dim, int64_t size_per_chunk)
: VectorBase(size_per_chunk), Dim(is_scalar ? 1 : dim) {
Assert(is_scalar ? dim == 1 : dim != 1);
// Assert(is_scalar ? dim == 1 : dim != 1);
}
void