-
Notifications
You must be signed in to change notification settings - Fork 16
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 codegen for auxiliary constraint degrees #91
Conversation
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.
Looks good! Thanks for fixing this. I think there's another bug just below in line:
// define the number of aux trace boundary constraints `num_aux_assertions`.
new.line("let num_aux_assertions = 0;");
This should probably be:
// define the number of aux trace boundary constraints `num_aux_assertions`.
new.line(format!(
"let num_aux_assertions = {};",
ir.num_aux_assertions()
));
Oh good point! Can't believe I missed that. Thanks! |
0e8d661
to
57ae403
Compare
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.
Thank you. Looks good to me.
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.
Looks great, thank you!
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.
Looks good to me! Thank you!
This PR fixes the declaration of the constraint degrees for constraints in the auxiliary trace, which was previously declaring empty vector in all cases.