-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Distinguish between asserts on values and asserts for unpacking
Asserts that are required for correct unpacking (e.g. asserting the number of buffer dimensions) must go in the `init_nest_`. Asserts on the unpacked values themselves must go in the `asserts_`, as they may depend on symbolic variables defined by not-yet-unpacked buffers.
- Loading branch information
1 parent
d102983
commit a7f822a
Showing
2 changed files
with
24 additions
and
36 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