@@ -362,7 +362,7 @@ impl<F: FieldExt> LaneRotateConversionConfig<F> {
362
362
region. constrain_equal ( lane_base_13. 0 , cell) ?;
363
363
364
364
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 ) ,
366
366
self . rotation ,
367
367
) ?;
368
368
let all_block_counts: Result < Vec < BlockCount2 < F > > , Error > = self
@@ -507,11 +507,11 @@ impl<F: FieldExt> ChunkRotateConversionConfig<F> {
507
507
rv : & RotatingVariables ,
508
508
) -> Result < BlockCount2 < F > , Error > {
509
509
assert_eq ! (
510
- biguint_to_f:: <F >( & rv. input_power_of_base) ? ,
510
+ biguint_to_f:: <F >( & rv. input_power_of_base) ,
511
511
self . power_of_b13
512
512
) ;
513
513
assert_eq ! (
514
- biguint_to_f:: <F >( & rv. output_power_of_base) ? ,
514
+ biguint_to_f:: <F >( & rv. output_power_of_base) ,
515
515
self . power_of_b9
516
516
) ;
517
517
self . q_enable . enable ( region, offset) ?;
@@ -522,25 +522,25 @@ impl<F: FieldExt> ChunkRotateConversionConfig<F> {
522
522
|| format ! ( "Input Coef {}" , self . chunk_idx) ,
523
523
self . adv . input . coef ,
524
524
offset,
525
- || biguint_to_f :: < F > ( & rv. input_coef ) ,
525
+ || Ok ( biguint_to_f :: < F > ( & rv. input_coef ) ) ,
526
526
) ?;
527
527
region. assign_advice (
528
528
|| "Input accumulator" ,
529
529
self . adv . input . acc ,
530
530
offset,
531
- || biguint_to_f :: < F > ( & rv. input_acc ) ,
531
+ || Ok ( biguint_to_f :: < F > ( & rv. input_acc ) ) ,
532
532
) ?;
533
533
region. assign_advice (
534
534
|| "Output Coef" ,
535
535
self . adv . output . coef ,
536
536
offset,
537
- || biguint_to_f :: < F > ( & rv. output_coef ) ,
537
+ || Ok ( biguint_to_f :: < F > ( & rv. output_coef ) ) ,
538
538
) ?;
539
539
region. assign_advice (
540
540
|| "Output accumulator" ,
541
541
self . adv . output . acc ,
542
542
offset,
543
- || biguint_to_f :: < F > ( & rv. output_acc ) ,
543
+ || Ok ( biguint_to_f :: < F > ( & rv. output_acc ) ) ,
544
544
) ?;
545
545
let block_counts = self . block_count_acc_config . assign_region (
546
546
region,
@@ -612,19 +612,19 @@ impl<F: FieldExt> SpecialChunkConfig<F> {
612
612
|| "input_acc" ,
613
613
self . base_13_acc ,
614
614
offset,
615
- || biguint_to_f :: < F > ( & rv. input_acc ) ,
615
+ || Ok ( biguint_to_f :: < F > ( & rv. input_acc ) ) ,
616
616
) ?;
617
617
region. assign_advice (
618
618
|| "ouput_acc" ,
619
619
self . base_9_acc ,
620
620
offset,
621
- || biguint_to_f :: < F > ( & rv. output_acc ) ,
621
+ || Ok ( biguint_to_f :: < F > ( & rv. output_acc ) ) ,
622
622
) ?;
623
623
region. assign_advice (
624
624
|| "last_b9_coef" ,
625
625
self . last_b9_coef ,
626
626
offset,
627
- || biguint_to_f :: < F > ( & rv. output_coef ) ,
627
+ || Ok ( biguint_to_f :: < F > ( & rv. output_coef ) ) ,
628
628
) ?;
629
629
630
630
let rv_final = rv. finalize ( ) ;
@@ -634,7 +634,7 @@ impl<F: FieldExt> SpecialChunkConfig<F> {
634
634
offset + 1 ,
635
635
|| Ok ( F :: zero ( ) ) ,
636
636
) ?;
637
- let value = biguint_to_f :: < F > ( & rv_final. output_acc ) ? ;
637
+ let value = biguint_to_f :: < F > ( & rv_final. output_acc ) ;
638
638
let cell = region. assign_advice (
639
639
|| "input_acc" ,
640
640
self . base_9_acc ,
0 commit comments