-
Notifications
You must be signed in to change notification settings - Fork 200
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
Unexpected Assertion Error in Aggregation #2486
Comments
I debugged it and found the following comments:
From my understanding, the current design restricts grounding only to atoms. However, the literal : At the moment, I'm unsure how to approach solving this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue arises when I attempt to use a variable from outside the aggregation in a range functor. Here's the minimal reproducible example:
When executing this, I receive the following error message:
Assertion failed: (alreadyGrounded.find(ungroundedVariableName) != alreadyGrounded.end() && "Error: Unable to ground parameter in materialisation-requiring aggregate body"), function groundInjectedParameters.
Could someone help me understand why this error is occurring, and if there's a workaround or a fix for it?
The text was updated successfully, but these errors were encountered: