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

Aggregate rule panics, if aggregate variable and distinct variable are the same #620

Open
matzemathics opened this issue Feb 8, 2025 · 0 comments
Labels
physical physical layer program analysis Issue related to global program analysis
Milestone

Comments

@matzemathics
Copy link
Collaborator

The following rule

r(#MAX(?x, ?x)) :- p(?x).

leads to a panic:

thread 'main' panicked at nemo-physical/src/util/mapping/ordered_choice.rs:37:9:
assertion failed: source.len() >= target.len()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This should probably be rejected by program analysis.

@matzemathics matzemathics added physical physical layer program analysis Issue related to global program analysis labels Feb 8, 2025
@github-project-automation github-project-automation bot moved this to Todo in nemo Feb 8, 2025
@matzemathics matzemathics added this to the Release 0.8.0 milestone Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical physical layer program analysis Issue related to global program analysis
Projects
Status: Todo
Development

No branches or pull requests

1 participant