-
Notifications
You must be signed in to change notification settings - Fork 685
Fix #6297: handle constraints like (u+1 <= Set/Prop) #6298
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
Conversation
Could @mattam82 document in the code a few of the invariants expected by this function? Apart from being inefficient, I share @SkySkimmer's concerns about the suspiciousness of this code. |
I agree it is suspicious, I'll try to explain the intent better |
This PR has been inactive for the last 7 days. @SkySkimmer @ppedrot @mattam82 How to do progress? |
I'm just waiting for review. |
@mattam82 Can you review this today?! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Relatively to my understanding of that part of the code, I believe that this patch is correct. I've already thought several times about a potential bug here actually.
…ike (u+1 <= Set/Prop)
…s like (u+1 <= Set/Prop)
Universe.levels is super suspicious honestly, we should make the caller explicitly ignore the +1s if they need to (but not in a backportable fix).