summaryrefslogtreecommitdiffstats
path: root/eval/src/tests/instruction/generic_reduce
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@oath.com>2020-10-12 12:29:21 +0000
committerHåvard Pettersen <havardpe@oath.com>2020-10-12 19:05:54 +0000
commite72235763076cad111f53043578b25d88c585255 (patch)
tree0f41fc53578aa258c29607ad8910fbbcb09ad5f5 /eval/src/tests/instruction/generic_reduce
parent9886120a1bddd1016466cec317a445cd37650bff (diff)
allow interpreted function to use new generic operations
update conformance test to also test with SimpleValue and FastValue
Diffstat (limited to 'eval/src/tests/instruction/generic_reduce')
-rw-r--r--eval/src/tests/instruction/generic_reduce/generic_reduce_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval/src/tests/instruction/generic_reduce/generic_reduce_test.cpp b/eval/src/tests/instruction/generic_reduce/generic_reduce_test.cpp
index 7e9a059967a..335e4e46642 100644
--- a/eval/src/tests/instruction/generic_reduce/generic_reduce_test.cpp
+++ b/eval/src/tests/instruction/generic_reduce/generic_reduce_test.cpp
@@ -63,7 +63,7 @@ TensorSpec perform_generic_reduce(const TensorSpec &a, const std::vector<vespali
const auto &factory = SimpleValueBuilderFactory::get();
auto lhs = value_from_spec(a, factory);
auto my_op = GenericReduce::make_instruction(lhs->type(), aggr, dims, factory, stash);
- InterpretedFunction::EvalSingle single(my_op);
+ InterpretedFunction::EvalSingle single(factory, my_op);
return spec_from_value(single.eval(std::vector<Value::CREF>({*lhs})));
}