-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Lang] [refactor] shows an error if not called from correct Taichi/Py…
…thon-scope (#1121) * [Lang] [refactor] shows an error if not called from correct Taichi/Python-scope * [skip ci] fix deprecation warning (instead of raising error) * also use deprecated deco for classkernel & classfunc * [skip ci] format * [skip ci] deprecation warning use stacklevel * [skip ci] enforce code format * [skip ci] more taichi_scope Co-authored-by: Taichi Gardener <taichigardener@gmail.com>
- Loading branch information
1 parent
2ad7d22
commit 7536eba
Showing
7 changed files
with
96 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.