Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
[Fix] Minor modification in unittests (apache#12247)
Browse files Browse the repository at this point in the history
Update unittests to align with the expected behavior
  • Loading branch information
cyx-6 authored and xinetzone committed Nov 25, 2022
1 parent 8888b18 commit d0cf420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/unittest/test_arith_domain_touched.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@T.prim_func
def scalar_func(a: T.handle, b: T.handle):
m = T.var("int32")
n = T.int32(100)
n = 100
A = T.match_buffer(a, (n, m))
B = T.match_buffer(b, (n, m))

Expand All @@ -33,7 +33,7 @@ def scalar_func(a: T.handle, b: T.handle):
@T.prim_func
def vector_func(a: T.handle, b: T.handle):
n = T.var("int32")
m = T.int32(128)
m = 128
A = T.match_buffer(a, (n, m))
B = T.match_buffer(b, (n, m))

Expand Down

0 comments on commit d0cf420

Please sign in to comment.