summaryrefslogtreecommitdiffstats
path: root/eval/src/tests/tensor/dense_inplace_map_function/dense_inplace_map_function_test.cpp
diff options
context:
space:
mode:
authorHÃ¥vard Pettersen <havardpe@oath.com>2019-04-26 11:15:27 +0200
committerGitHub <noreply@github.com>2019-04-26 11:15:27 +0200
commit831157d9dc52d4d06c7eaf6786bf5a334b6c7159 (patch)
tree825bf992856d83e16eead43885e3552edec31bf0 /eval/src/tests/tensor/dense_inplace_map_function/dense_inplace_map_function_test.cpp
parent453b53e048f8e47975713371b510ee95b7168656 (diff)
parent974a0f2d3c588e35165177ac556e08cfdcc0e26f (diff)
Merge pull request #9184 from vespa-engine/havardpe/no-abstract-types-in-backend
avoid abstract value types
Diffstat (limited to 'eval/src/tests/tensor/dense_inplace_map_function/dense_inplace_map_function_test.cpp')
-rw-r--r--eval/src/tests/tensor/dense_inplace_map_function/dense_inplace_map_function_test.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/eval/src/tests/tensor/dense_inplace_map_function/dense_inplace_map_function_test.cpp b/eval/src/tests/tensor/dense_inplace_map_function/dense_inplace_map_function_test.cpp
index 77af747a066..a17b7e02eb8 100644
--- a/eval/src/tests/tensor/dense_inplace_map_function/dense_inplace_map_function_test.cpp
+++ b/eval/src/tests/tensor/dense_inplace_map_function/dense_inplace_map_function_test.cpp
@@ -27,7 +27,6 @@ EvalFixture::ParamRepo make_params() {
.add_mutable("_d", spec(5.0))
.add_mutable("_x5", spec({x(5)}, N()))
.add_mutable("_x5y3", spec({x(5),y(3)}, N()))
- .add_mutable("_x5_u", spec({x(5)}, N()), "tensor(x[])")
.add_mutable("_x_m", spec({x({"a", "b", "c"})}, N()));
}
EvalFixture::ParamRepo param_repo = make_params();
@@ -60,10 +59,6 @@ TEST("require that inplace map operations can be chained") {
TEST_DO(verify_optimized("map(map(_x5,f(x)(x+10)),f(x)(x-5))", 2));
}
-TEST("require that abstract tensors are not optimized") {
- TEST_DO(verify_not_optimized("map(_x5_u,f(x)(x+10))"));
-}
-
TEST("require that non-mutable tensors are not optimized") {
TEST_DO(verify_not_optimized("map(x5,f(x)(x+10))"));
}