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

Bug/452 #457

Merged
merged 3 commits into from
Apr 2, 2024
Merged

Bug/452 #457

merged 3 commits into from
Apr 2, 2024

Conversation

aannleax
Copy link
Member

Fixes #452.

.iter()
.filter(|filter| {
filter.variables().all(|variable| {
subtract_markers.contains(variable_translation.get(variable).unwrap())
Copy link
Member

Choose a reason for hiding this comment

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

Can we avoid the unwrap()?

@aannleax
Copy link
Member Author

Replaced the unwrap with an expect :)

@aannleax aannleax merged commit 7d44277 into main Apr 2, 2024
8 checks passed
mmarx pushed a commit that referenced this pull request Apr 4, 2024
* Add new testcase

* Fix bug related to applying applying negative filters

---------

Co-authored-by: Alex Ivliev <[email protected]>
@mmarx mmarx deleted the bug/452 branch December 31, 2024 19:56
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.

negation error with constants inside the negated atom
2 participants