diff options
Diffstat (limited to 'eval/src/tests/instruction/dense_xw_product_function/dense_xw_product_function_test.cpp')
-rw-r--r-- | eval/src/tests/instruction/dense_xw_product_function/dense_xw_product_function_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eval/src/tests/instruction/dense_xw_product_function/dense_xw_product_function_test.cpp b/eval/src/tests/instruction/dense_xw_product_function/dense_xw_product_function_test.cpp index 35f6b7b1eb8..f4fce7cb5f5 100644 --- a/eval/src/tests/instruction/dense_xw_product_function/dense_xw_product_function_test.cpp +++ b/eval/src/tests/instruction/dense_xw_product_function/dense_xw_product_function_test.cpp @@ -30,15 +30,15 @@ GenSpec::seq_t my_mat_seq = [] (size_t i) noexcept { return (5.0 + i) * 43.0; }; void add_vector(EvalFixture::ParamRepo &repo, const char *d1, size_t s1) { auto name = make_string("%s%zu", d1, s1); auto layout = GenSpec().idx(d1, s1).seq(my_vec_seq); - repo.add(name, layout.gen()); - repo.add(name + "f", layout.cells_float().gen()); + repo.add(name, layout); + repo.add(name + "f", layout.cells_float()); } void add_matrix(EvalFixture::ParamRepo &repo, const char *d1, size_t s1, const char *d2, size_t s2) { auto name = make_string("%s%zu%s%zu", d1, s1, d2, s2); auto layout = GenSpec().idx(d1, s1).idx(d2, s2).seq(my_mat_seq); - repo.add(name, layout.gen()); - repo.add(name + "f", layout.cells_float().gen()); + repo.add(name, layout); + repo.add(name + "f", layout.cells_float()); } EvalFixture::ParamRepo make_params() { |