remove leftover protection that is harmful now
@@ -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);
