Skip to content

fix: Off-by-one error in is_true of VariableState#389

Merged
ImkoMarijnissen merged 2 commits intomainfrom
fix/off-by-one-is-true
Mar 23, 2026
Merged

fix: Off-by-one error in is_true of VariableState#389
ImkoMarijnissen merged 2 commits intomainfrom
fix/off-by-one-is-true

Conversation

@ImkoMarijnissen
Copy link
Copy Markdown
Contributor

In is_true in VariableState, there was an off-by-one error for detecting whether a not equals atomic is true.

Copy link
Copy Markdown
Contributor

@maartenflippo maartenflippo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch! Can you add some test case for this as well?

@ImkoMarijnissen ImkoMarijnissen merged commit b868f2f into main Mar 23, 2026
8 checks passed
@ImkoMarijnissen ImkoMarijnissen deleted the fix/off-by-one-is-true branch March 23, 2026 07:45
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