summaryrefslogtreecommitdiffstats
path: root/eval/src
diff options
context:
space:
mode:
Diffstat (limited to 'eval/src')
-rw-r--r--eval/src/vespa/eval/tensor/serialization/typed_binary_format.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval/src/vespa/eval/tensor/serialization/typed_binary_format.cpp b/eval/src/vespa/eval/tensor/serialization/typed_binary_format.cpp
index d452203fe3f..4437f4e0e2f 100644
--- a/eval/src/vespa/eval/tensor/serialization/typed_binary_format.cpp
+++ b/eval/src/vespa/eval/tensor/serialization/typed_binary_format.cpp
@@ -99,7 +99,7 @@ TypedBinaryFormat::deserialize(nbostream &stream)
stream.adjustReadPos(read_pos - stream.rp());
return std::make_unique<WrappedSimpleTensor>(eval::SimpleTensor::decode(stream));
}
- abort();
+ throw IllegalArgumentException(make_string("Received unknown tensor format type = %du.", formatId));
}
template <typename T>