File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,9 +96,9 @@ pub struct Circuit {
9696
9797/// An evaluation of a `Circuit` on some input.
9898/// Stores the outputs, every circuit layer intermediate evaluations and the inputs
99- pub struct CircuitEvaluation < F > {
99+ pub struct CircuitEvaluation < F : IsField > {
100100 /// Evaluations on per-layer. First layer is the output and last layer is the input.
101- pub layers : Vec < Vec < F > > ,
101+ pub layers : Vec < Vec < FieldElement < F > > > ,
102102}
103103
104104impl Circuit {
@@ -162,7 +162,7 @@ impl Circuit {
162162 }
163163
164164 /// Evaluate a `Circuit` on a given input.
165- pub fn evaluate < F > ( & self , input : & [ FieldElement < F > ] ) -> CircuitEvaluation < FieldElement < F > >
165+ pub fn evaluate < F > ( & self , input : & [ FieldElement < F > ] ) -> CircuitEvaluation < F >
166166 where
167167 F : IsField ,
168168 {
You can’t perform that action at this time.
0 commit comments