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

Forbid the declaration of zero-length classical vectors #910

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

jbouwman
Copy link
Member

If zero-length vectors are allowed, qvm crashes in allocate-memory-for-model with the error:

The value of QVM::SIZE is 0, which is not The SIZE wasn't a multiple of 8..
   [Condition of type SIMPLE-TYPE-ERROR]

If zero-length vectors are allowed, qvm crashes in
`allocate-memory-for-model` with the error:

    The value of QVM::SIZE is 0, which is not The SIZE wasn't a multiple of 8..
       [Condition of type SIMPLE-TYPE-ERROR]
@stylewarning stylewarning merged commit 5d8af80 into quil-lang:master Jan 12, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants