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

Conversion of quint indices operator has indices off by one #2509

Closed
shonfeder opened this issue Mar 29, 2023 · 0 comments · Fixed by #2510
Closed

Conversion of quint indices operator has indices off by one #2509

shonfeder opened this issue Mar 29, 2023 · 0 comments · Fixed by #2510

Comments

@shonfeder
Copy link
Contributor

shonfeder commented Mar 29, 2023

We're not correcting for the 1 based indexes after we get the domain. To fix this, we can

match DOMAIN seq with
| {} -> {}
| s  -> diff (union s {0}) {length seq}
@shonfeder shonfeder added the bug label Mar 29, 2023
@shonfeder shonfeder self-assigned this Mar 29, 2023
@shonfeder shonfeder changed the title Conversion of quint indices operator has indices off by onf Conversion of quint indices operator has indices off by one Mar 29, 2023
shonfeder pushed a commit that referenced this issue Mar 29, 2023
shonfeder pushed a commit that referenced this issue Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant