From 28bfeea65569c72fd807500b7451ffd992eb7105 Mon Sep 17 00:00:00 2001 From: PGZXB Date: Thu, 5 Jan 2023 20:32:51 +0800 Subject: [PATCH] Fixed compilation error --- tests/cpp/transforms/eliminate_immutable_local_vars_test.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/cpp/transforms/eliminate_immutable_local_vars_test.cpp b/tests/cpp/transforms/eliminate_immutable_local_vars_test.cpp index e919d2145bf6d..3f1dded336159 100644 --- a/tests/cpp/transforms/eliminate_immutable_local_vars_test.cpp +++ b/tests/cpp/transforms/eliminate_immutable_local_vars_test.cpp @@ -16,7 +16,6 @@ TEST(TensorType, eliminateImmutableLocalVars) { auto func = []() {}; auto kernel = std::make_unique(*test_prog.prog(), func, "fake_kernel"); - block->kernel = kernel.get(); auto &type_factory = TypeFactory::get_instance();