aboutsummaryrefslogtreecommitdiffstats
path: root/eval/src/tests
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-06-09 10:28:05 +0200
committerGitHub <noreply@github.com>2022-06-09 10:28:05 +0200
commit30adaa8da569ce160615198fcca62a04d4f71552 (patch)
tree81174bcc9090b94ea59ca67a9a37fcbcb9700445 /eval/src/tests
parent4ca46dcbc8bdf1b522373b40061ae24c84c847b7 (diff)
parent05019f25b0d748dd34bbcfb2dc839611e09d96f0 (diff)
Merge pull request #22945 from vespa-engine/havardpe/full-reduce-count-is-cellcount
full reduce with COUNT aggregator is cell count
Diffstat (limited to 'eval/src/tests')
-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 fe531785278..d7298db4b68 100644
--- a/eval/src/tests/instruction/generic_reduce/generic_reduce_test.cpp
+++ b/eval/src/tests/instruction/generic_reduce/generic_reduce_test.cpp
@@ -75,7 +75,7 @@ void test_generic_reduce_with(const ValueBuilderFactory &factory) {
auto input = layout.cpy().cells(ct);
if (input.bad_scalar()) continue;
SCOPED_TRACE(fmt("tensor type: %s, num_cells: %zu", input.gen().type().c_str(), input.gen().cells().size()));
- for (Aggr aggr: {Aggr::SUM, Aggr::AVG, Aggr::MIN, Aggr::MAX}) {
+ for (Aggr aggr: {Aggr::SUM, Aggr::AVG, Aggr::MIN, Aggr::MAX, Aggr::COUNT}) {
SCOPED_TRACE(fmt("aggregator: %s", AggrNames::name_of(aggr)->c_str()));
auto t = layout.type();
for (const auto & dim: t.dimensions()) {