From 83982d3fba425e49fdc64689fce82867ea078ed0 Mon Sep 17 00:00:00 2001
From: solin319 <lipengfei19890603@126.com>
Date: Fri, 1 Dec 2017 01:37:26 +0800
Subject: [PATCH] fix name bug in test_pass_inject_double_buffer (#678)

Change the parameter 'C' name
---
 tests/python/unittest/test_pass_inject_double_buffer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/python/unittest/test_pass_inject_double_buffer.py b/tests/python/unittest/test_pass_inject_double_buffer.py
index 3136e3319..0e3500edf 100644
--- a/tests/python/unittest/test_pass_inject_double_buffer.py
+++ b/tests/python/unittest/test_pass_inject_double_buffer.py
@@ -7,7 +7,7 @@ def test_double_buffer():
     tx = tvm.thread_axis("threadIdx.x")
     ib = tvm.ir_builder.create()
     A = ib.pointer("float32", name="A")
-    C = ib.pointer("float32", name="A")
+    C = ib.pointer("float32", name="C")
     ib.scope_attr(tx, "thread_extent", 1)
     with ib.for_range(0, n) as i:
         B = ib.allocate("float32", m, name="B", scope="shared")
-- 
GitLab