summaryrefslogtreecommitdiffstats
path: root/eval
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-11-24 20:35:26 +0000
committerArne Juul <arnej@verizonmedia.com>2020-11-27 07:07:15 +0000
commit03f00672a73471c02d2922a1bade3c3fb5d60d8f (patch)
tree175f9a2795db9dbdf68b7ce5f2c87bb9b6ec2b19 /eval
parentfa7208968fc8ac2aa6e832925d615fcd9e8fd4a6 (diff)
test with FastValue instead of DefaultTensorEngine
Diffstat (limited to 'eval')
-rw-r--r--eval/src/vespa/eval/eval/test/eval_fixture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval/src/vespa/eval/eval/test/eval_fixture.h b/eval/src/vespa/eval/eval/test/eval_fixture.h
index 54693cbc1bb..9b57d7b4aae 100644
--- a/eval/src/vespa/eval/eval/test/eval_fixture.h
+++ b/eval/src/vespa/eval/eval/test/eval_fixture.h
@@ -2,12 +2,12 @@
#pragma once
+#include <vespa/eval/eval/fast_value.h>
#include <vespa/eval/eval/function.h>
#include <vespa/eval/eval/tensor_spec.h>
#include <vespa/eval/eval/tensor_function.h>
#include <vespa/eval/eval/interpreted_function.h>
#include <vespa/eval/eval/simple_tensor_engine.h>
-#include <vespa/eval/tensor/default_tensor_engine.h>
#include <vespa/vespalib/util/stash.h>
#include <set>
#include <functional>
@@ -90,7 +90,7 @@ public:
return EvalFixture(SimpleTensorEngine::ref(), expr, param_repo, false, false).result();
}
static TensorSpec prod(const vespalib::string &expr, const ParamRepo &param_repo) {
- return EvalFixture(tensor::DefaultTensorEngine::ref(), expr, param_repo, true, false).result();
+ return EvalFixture(FastValueBuilderFactory::get(), expr, param_repo, true, false).result();
}
};