aboutsummaryrefslogtreecommitdiffstats
path: root/eval/src/vespa/eval/instruction/sparse_merge_function.cpp
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@yahooinc.com>2023-11-08 13:55:05 +0000
committerHåvard Pettersen <havardpe@yahooinc.com>2023-11-13 09:44:26 +0000
commit8753ece3f5f374a5cffd360f2009ef1de9ec9d35 (patch)
tree82340fe27f9df59a1b6650f9f348f7c6d4a5a106 /eval/src/vespa/eval/instruction/sparse_merge_function.cpp
parent8435f3c414ccbc2dae11e69f7592f04f279144c5 (diff)
enable nested ctf meta datahavardpe/enable-nested-ctf-meta-data
Diffstat (limited to 'eval/src/vespa/eval/instruction/sparse_merge_function.cpp')
-rw-r--r--eval/src/vespa/eval/instruction/sparse_merge_function.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/eval/src/vespa/eval/instruction/sparse_merge_function.cpp b/eval/src/vespa/eval/instruction/sparse_merge_function.cpp
index 6dff7440d01..57d0c536e8d 100644
--- a/eval/src/vespa/eval/instruction/sparse_merge_function.cpp
+++ b/eval/src/vespa/eval/instruction/sparse_merge_function.cpp
@@ -108,11 +108,11 @@ SparseMergeFunction::SparseMergeFunction(const tensor_function::Merge &original)
}
InterpretedFunction::Instruction
-SparseMergeFunction::compile_self(const ValueBuilderFactory &factory, Stash &stash) const
+SparseMergeFunction::compile_self(const CTFContext &ctx) const
{
- const auto &param = stash.create<MergeParam>(result_type(),
- lhs().result_type(), rhs().result_type(),
- function(), factory);
+ const auto &param = ctx.stash.create<MergeParam>(result_type(),
+ lhs().result_type(), rhs().result_type(),
+ function(), ctx.factory);
size_t num_dims = result_type().count_mapped_dimensions();
auto op = typify_invoke<3,MyTypify,SelectSparseMergeOp>(result_type().cell_meta().limit(),
num_dims == 1,