diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-12-01 13:46:26 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-12-01 13:46:26 +0000 |
commit | 4441a93d58cee52335a67e9f82b77cf7dcd9bd81 (patch) | |
tree | 4346f0cf53471707b4e456ac6c1e28e540dc6239 /eval | |
parent | 3e9bb253be74a9a4498743ff8780ecc349373dcf (diff) |
avoid using namespace vespalib::tensor
Diffstat (limited to 'eval')
-rw-r--r-- | eval/src/tests/eval/tensor_lambda/tensor_lambda_test.cpp | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/eval/src/tests/eval/tensor_lambda/tensor_lambda_test.cpp b/eval/src/tests/eval/tensor_lambda/tensor_lambda_test.cpp index 8d84389d578..2315868f97c 100644 --- a/eval/src/tests/eval/tensor_lambda/tensor_lambda_test.cpp +++ b/eval/src/tests/eval/tensor_lambda/tensor_lambda_test.cpp @@ -20,24 +20,8 @@ using namespace vespalib; using namespace vespalib::eval; using namespace vespalib::eval::test; -using namespace vespalib::tensor; using namespace vespalib::eval::tensor_function; -using EvalMode = DenseLambdaFunction::EvalMode; - -namespace vespalib::tensor { - -std::ostream &operator<<(std::ostream &os, EvalMode eval_mode) -{ - switch(eval_mode) { - case EvalMode::COMPILED: return os << "COMPILED"; - case EvalMode::INTERPRETED: return os << "INTERPRETED"; - } - abort(); -} - -} - const ValueBuilderFactory &simple_factory = SimpleValueBuilderFactory::get(); const ValueBuilderFactory &prod_factory = FastValueBuilderFactory::get(); @@ -80,7 +64,7 @@ void verify_not_optimized(const vespalib::string &expr, const vespalib::string & } void verify_reshape(const vespalib::string &expr, const vespalib::string &expect) { - verify_impl<DenseReplaceTypeFunction>(expr, expect); + verify_impl<tensor::DenseReplaceTypeFunction>(expr, expect); } void verify_range(const vespalib::string &expr, const vespalib::string &expect) { |