@@ -362,7 +362,7 @@ impl<F: FieldExt> LaneRotateConversionConfig<F> {
362362 region. constrain_equal ( lane_base_13. 0 , cell) ?;
363363
364364 let mut rv = RotatingVariables :: from (
365- f_to_biguint ( lane_base_13. 1 ) . ok_or ( Error :: Synthesis ) ? ,
365+ f_to_biguint ( lane_base_13. 1 ) ,
366366 self . rotation ,
367367 ) ?;
368368 let all_block_counts: Result < Vec < BlockCount2 < F > > , Error > = self
@@ -507,11 +507,11 @@ impl<F: FieldExt> ChunkRotateConversionConfig<F> {
507507 rv : & RotatingVariables ,
508508 ) -> Result < BlockCount2 < F > , Error > {
509509 assert_eq ! (
510- biguint_to_f:: <F >( & rv. input_power_of_base) ? ,
510+ biguint_to_f:: <F >( & rv. input_power_of_base) ,
511511 self . power_of_b13
512512 ) ;
513513 assert_eq ! (
514- biguint_to_f:: <F >( & rv. output_power_of_base) ? ,
514+ biguint_to_f:: <F >( & rv. output_power_of_base) ,
515515 self . power_of_b9
516516 ) ;
517517 self . q_enable . enable ( region, offset) ?;
@@ -522,25 +522,25 @@ impl<F: FieldExt> ChunkRotateConversionConfig<F> {
522522 || format ! ( "Input Coef {}" , self . chunk_idx) ,
523523 self . adv . input . coef ,
524524 offset,
525- || biguint_to_f :: < F > ( & rv. input_coef ) ,
525+ || Ok ( biguint_to_f :: < F > ( & rv. input_coef ) ) ,
526526 ) ?;
527527 region. assign_advice (
528528 || "Input accumulator" ,
529529 self . adv . input . acc ,
530530 offset,
531- || biguint_to_f :: < F > ( & rv. input_acc ) ,
531+ || Ok ( biguint_to_f :: < F > ( & rv. input_acc ) ) ,
532532 ) ?;
533533 region. assign_advice (
534534 || "Output Coef" ,
535535 self . adv . output . coef ,
536536 offset,
537- || biguint_to_f :: < F > ( & rv. output_coef ) ,
537+ || Ok ( biguint_to_f :: < F > ( & rv. output_coef ) ) ,
538538 ) ?;
539539 region. assign_advice (
540540 || "Output accumulator" ,
541541 self . adv . output . acc ,
542542 offset,
543- || biguint_to_f :: < F > ( & rv. output_acc ) ,
543+ || Ok ( biguint_to_f :: < F > ( & rv. output_acc ) ) ,
544544 ) ?;
545545 let block_counts = self . block_count_acc_config . assign_region (
546546 region,
@@ -612,19 +612,19 @@ impl<F: FieldExt> SpecialChunkConfig<F> {
612612 || "input_acc" ,
613613 self . base_13_acc ,
614614 offset,
615- || biguint_to_f :: < F > ( & rv. input_acc ) ,
615+ || Ok ( biguint_to_f :: < F > ( & rv. input_acc ) ) ,
616616 ) ?;
617617 region. assign_advice (
618618 || "ouput_acc" ,
619619 self . base_9_acc ,
620620 offset,
621- || biguint_to_f :: < F > ( & rv. output_acc ) ,
621+ || Ok ( biguint_to_f :: < F > ( & rv. output_acc ) ) ,
622622 ) ?;
623623 region. assign_advice (
624624 || "last_b9_coef" ,
625625 self . last_b9_coef ,
626626 offset,
627- || biguint_to_f :: < F > ( & rv. output_coef ) ,
627+ || Ok ( biguint_to_f :: < F > ( & rv. output_coef ) ) ,
628628 ) ?;
629629
630630 let rv_final = rv. finalize ( ) ;
@@ -634,7 +634,7 @@ impl<F: FieldExt> SpecialChunkConfig<F> {
634634 offset + 1 ,
635635 || Ok ( F :: zero ( ) ) ,
636636 ) ?;
637- let value = biguint_to_f :: < F > ( & rv_final. output_acc ) ? ;
637+ let value = biguint_to_f :: < F > ( & rv_final. output_acc ) ;
638638 let cell = region. assign_advice (
639639 || "input_acc" ,
640640 self . base_9_acc ,
0 commit comments