File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -317,6 +317,7 @@ mod tests {
317317 use p3_field:: Field ;
318318
319319 use super :: * ;
320+ use crate :: CircuitError ;
320321
321322 #[ test]
322323 fn test_new_builder_has_zero_constant ( ) {
Original file line number Diff line number Diff line change @@ -444,13 +444,13 @@ mod tests {
444444 inputs : Vec < ExprId > ,
445445 }
446446
447- impl X {
447+ impl XHint {
448448 pub fn new ( a : ExprId , b : ExprId ) -> Self {
449449 Self { inputs : vec ! [ a, b] }
450450 }
451451 }
452452
453- impl < F : Field > WitnessHintFiller < F > for X {
453+ impl < F : Field > WitnessHintFiller < F > for XHint {
454454 fn inputs ( & self ) -> & [ ExprId ] {
455455 & self . inputs
456456 }
@@ -482,7 +482,7 @@ mod tests {
482482
483483 let c37 = builder. add_const ( BabyBear :: from_u64 ( 37 ) ) ;
484484 let c111 = builder. add_const ( BabyBear :: from_u64 ( 111 ) ) ;
485- let x_hint = X :: new ( c37, c111) ;
485+ let x_hint = XHint :: new ( c37, c111) ;
486486 let x = builder. alloc_witness_hints ( x_hint, "x" ) [ 0 ] ;
487487
488488 let mul_result = builder. mul ( c37, x) ;
You can’t perform that action at this time.
0 commit comments