Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Script] Add pointer arthematic #237

Merged
merged 5 commits into from
May 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint
yaoyaoding committed May 22, 2023
commit e48bdc33ce0f875b1e89ddfd6ebae9654effe52c
2 changes: 1 addition & 1 deletion python/hidet/ir/type.py
Original file line number Diff line number Diff line change
@@ -195,7 +195,7 @@ def __init__(self, base_type, specifiers: Optional[Sequence[str]] = None, use_br
self.use_bracket: bool = use_bracket

def __call__(self, x):
from hidet.ir.expr import Constant, Expr, constant, cast
from hidet.ir.expr import Constant, Expr, constant, cast # pylint: disable=redefined-outer-name

if isinstance(x, int):
return constant(x, self)