summaryrefslogtreecommitdiffstats
path: root/eval
diff options
context:
space:
mode:
Diffstat (limited to 'eval')
-rw-r--r--eval/src/vespa/eval/instruction/generic_reduce.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/eval/src/vespa/eval/instruction/generic_reduce.cpp b/eval/src/vespa/eval/instruction/generic_reduce.cpp
index ce68e3db36f..00d2b8aca20 100644
--- a/eval/src/vespa/eval/instruction/generic_reduce.cpp
+++ b/eval/src/vespa/eval/instruction/generic_reduce.cpp
@@ -127,16 +127,16 @@ void my_full_reduce_op(State &state, uint64_t) {
struct SelectGenericReduceOp {
template <typename ICT, typename OCT, typename AGGR> static auto invoke(const ReduceParam &param) {
if (param.res_type.is_scalar()) {
- return my_full_reduce_op<ICT, OCT, typename AGGR::template templ<ICT>>;
+ return my_full_reduce_op<ICT, OCT, typename AGGR::template templ<OCT>>;
}
- return my_generic_reduce_op<ICT, OCT, typename AGGR::template templ<ICT>>;
+ return my_generic_reduce_op<ICT, OCT, typename AGGR::template templ<OCT>>;
}
};
struct PerformGenericReduce {
template <typename ICT, typename OCT, typename AGGR>
static auto invoke(const Value &input, const ReduceParam &param) {
- return generic_reduce<ICT, OCT, typename AGGR::template templ<ICT>>(input, param);
+ return generic_reduce<ICT, OCT, typename AGGR::template templ<OCT>>(input, param);
}
};