diff options
author | Hans Goudey <h.goudey@me.com> | 2021-08-31 00:41:34 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-08-31 00:41:34 +0300 |
commit | 3b12594054e7e155c26a7fc347bdb253f87d6f5b (patch) | |
tree | 30fe14bcb5b543a1480601e874823194c56e2967 /source/blender | |
parent | 0597e93e5e22048838adcdb289fa62616294ebbb (diff) |
Fix broken test because of stupid mistake
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/functions/tests/FN_field_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/functions/tests/FN_field_test.cc b/source/blender/functions/tests/FN_field_test.cc index 58be8e7d335..ba4bfde4eaa 100644 --- a/source/blender/functions/tests/FN_field_test.cc +++ b/source/blender/functions/tests/FN_field_test.cc @@ -147,10 +147,10 @@ class TwoOutputFunction : public MultiFunction { void call(IndexMask mask, MFParams params, MFContext UNUSED(context)) const override { - const VArray<int> &in1 = params.readonly_single_input<int>(0); - const VArray<int> &in2 = params.readonly_single_input<int>(1); - MutableSpan<int> add = params.uninitialized_single_output<int>(2); - MutableSpan<int> add_10 = params.uninitialized_single_output<int>(2); + const VArray<int> &in1 = params.readonly_single_input<int>(0, "In1"); + const VArray<int> &in2 = params.readonly_single_input<int>(1, "In2"); + MutableSpan<int> add = params.uninitialized_single_output<int>(2, "Add"); + MutableSpan<int> add_10 = params.uninitialized_single_output<int>(3, "Add10"); mask.foreach_index([&](const int64_t i) { add[i] = in1[i] + in2[i]; add_10[i] = add[i] + 10; |