aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-04-24 17:12:38 +0000
committerArne Juul <arnej@verizonmedia.com>2021-04-24 17:12:38 +0000
commitffd299cf671ece607ba41d7990fc1a25094d5b07 (patch)
tree5d3738c2bc7d8d2ada62fdd3443793b77c15575a /searchlib
parent00c425bbb2cda9e1aadebd9aa5e8323b4f99c25f (diff)
remove leftover protection that is harmful now
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/queryeval/nearest_neighbor_iterator.cpp3
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 &params)
{
- 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);