Closed ryanleh closed 3 years ago
Question: the comment said that it "panics if any other references to self
exist."
From the code, it panics in the case when ConstraintSystemRef
does not contain a ConstraintSystem?
Maybe just have the method return an Option? That way the decision to panic is left to users
I think going with an option is better as well
Ready for a final pass.
Description
Adds a helper function to unwrap a
ConstraintSystemRef<F>
. This is useful for managing memory in https://github.com/arkworks-rs/marlin/pull/71.Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.
Pending
section inCHANGELOG.md
Files changed
in the Github PR explorer