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

Fix bug in LogicStructure.getRange calculations #499

Merged
merged 2 commits into from
Aug 2, 2024

Conversation

mkorbel1
Copy link
Contributor

@mkorbel1 mkorbel1 commented Aug 2, 2024

Description & Motivation

The logic which calculated which elements should exist within a call to slice or getRange in LogicStructure generated inaccurate results in some scenarios. This PR fixes the bug and adds more tests around it.

Related Issue(s)

N/A

Testing

Added new tests for corner cases, plus existing tests cover a lot of the existing cases

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

No

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

No

@mkorbel1 mkorbel1 merged commit 6474134 into intel:main Aug 2, 2024
3 checks passed
@mkorbel1 mkorbel1 deleted the logic_struct_range_calc branch August 2, 2024 23:53
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.

1 participant