Skip to content

Commit b5bf3fb

Browse files
committed
remove constexpr type annotation for arguments in functions decorated with tl.constexpr
1 parent 325974f commit b5bf3fb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/flag_gems/ops/sort.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212

1313

1414
@tl.constexpr
15-
def get_int_t(num_bits: tl.constexpr, signed: tl.constexpr) -> tl.dtype:
15+
def get_int_t(num_bits, signed) -> tl.dtype:
1616
return tl.core.get_int_dtype(num_bits, signed)
1717

1818

1919
@tl.constexpr
20-
def one_zeros(num_bits: tl.constexpr) -> int:
20+
def one_zeros(num_bits) -> int:
2121
return 1 << (num_bits - 1)
2222

2323

2424
@tl.constexpr
25-
def zero_ones(num_bits: tl.constexpr) -> int:
25+
def zero_ones(num_bits) -> int:
2626
return (1 << (num_bits - 1)) - 1
2727

2828

0 commit comments

Comments
 (0)