diff options
author | Arne Juul <arnej@verizonmedia.com> | 2021-04-24 17:12:38 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2021-04-24 17:12:38 +0000 |
commit | ffd299cf671ece607ba41d7990fc1a25094d5b07 (patch) | |
tree | 5d3738c2bc7d8d2ada62fdd3443793b77c15575a | |
parent | 00c425bbb2cda9e1aadebd9aa5e8323b4f99c25f (diff) |
remove leftover protection that is harmful now
-rw-r--r-- | searchlib/src/vespa/searchlib/queryeval/nearest_neighbor_iterator.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/searchlib/src/vespa/searchlib/queryeval/nearest_neighbor_iterator.cpp b/searchlib/src/vespa/searchlib/queryeval/nearest_neighbor_iterator.cpp index 6379a06e6d6..89ca4f1cfef 100644 --- a/searchlib/src/vespa/searchlib/queryeval/nearest_neighbor_iterator.cpp +++ b/searchlib/src/vespa/searchlib/queryeval/nearest_neighbor_iterator.cpp @@ -90,9 +90,6 @@ template <bool has_filter> std::unique_ptr<NearestNeighborIterator> resolve_strict(bool strict, const NearestNeighborIterator::Params ¶ms) { - CellType lct = params.queryTensor.type().cell_type(); - CellType rct = params.tensorAttribute.getTensorType().cell_type(); - if (lct != rct) abort(); if (strict) { using NNI = NearestNeighborImpl<true, has_filter>; return std::make_unique<NNI>(params); |