Skip to content

Update block_elimination documentation and check for invalid index#92

Merged
mcmtroffaes merged 1 commit into
mcmtroffaes:developfrom
stevenan5:develop_alt
Mar 11, 2026
Merged

Update block_elimination documentation and check for invalid index#92
mcmtroffaes merged 1 commit into
mcmtroffaes:developfrom
stevenan5:develop_alt

Conversation

@stevenan5

@stevenan5 stevenan5 commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

See #91 for context. This PR is for #90.

For this PR, a warning is added in the documentation and the code now checks to make sure that 0 is never passed in as an index of a variable to be removed. This addresses the shortcomings in the linked PR as the API remains unchanged.

@mcmtroffaes mcmtroffaes self-assigned this Mar 11, 2026
@mcmtroffaes mcmtroffaes merged commit f6044bc into mcmtroffaes:develop Mar 11, 2026
23 of 24 checks passed
@mcmtroffaes

Copy link
Copy Markdown
Owner

LGTM, couldn't have done it better myself! Thanks especially for adding in the extra index check and regression test.

@stevenan5 stevenan5 deleted the develop_alt branch March 11, 2026 08:27
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