Fix id() to include (generic) R param

This commit is contained in:
Daniel Lubarov 2021-04-16 09:01:54 -07:00
parent 9c2b7334c8
commit 62dccedda4

View File

@ -62,8 +62,7 @@ impl<F: Field, const R: usize> GMiMCGate<F, R> {
impl<F: Field, const R: usize> Gate<F> for GMiMCGate<F, R> {
fn id(&self) -> String {
// TODO: This won't include generic params?
format!("{:?}", self)
format!("<R={}> {:?}", R, self)
}
fn eval_unfiltered(&self, vars: EvaluationVars<F>) -> Vec<F> {