File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
tfhe/src/integer/gpu/server_key/radix Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -524,7 +524,7 @@ impl CudaServerKey {
524
524
let extended_ct_info = ct
525
525
. as_ref ( )
526
526
. info
527
- . after_extend_radix_with_trivial_zero_blocks_lsb ( num_blocks ) ;
527
+ . after_extend_radix_with_trivial_zero_blocks_lsb ( new_num_blocks ) ;
528
528
T :: from ( CudaRadixCiphertext :: new ( extended_ct_list, extended_ct_info) )
529
529
}
530
530
@@ -608,7 +608,7 @@ impl CudaServerKey {
608
608
let extended_ct_info = ct
609
609
. as_ref ( )
610
610
. info
611
- . after_extend_radix_with_trivial_zero_blocks_msb ( num_blocks ) ;
611
+ . after_extend_radix_with_trivial_zero_blocks_msb ( new_num_blocks ) ;
612
612
T :: from ( CudaRadixCiphertext :: new ( extended_ct_list, extended_ct_info) )
613
613
}
614
614
@@ -692,7 +692,7 @@ impl CudaServerKey {
692
692
ciphertext_modulus,
693
693
) ;
694
694
695
- let trimmed_ct_info = ct. as_ref ( ) . info . after_trim_radix_blocks_lsb ( num_blocks ) ;
695
+ let trimmed_ct_info = ct. as_ref ( ) . info . after_trim_radix_blocks_lsb ( new_num_blocks ) ;
696
696
T :: from ( CudaRadixCiphertext :: new ( trimmed_ct_list, trimmed_ct_info) )
697
697
}
698
698
@@ -775,8 +775,7 @@ impl CudaServerKey {
775
775
LweCiphertextCount ( new_num_blocks) ,
776
776
ciphertext_modulus,
777
777
) ;
778
-
779
- let trimmed_ct_info = ct. as_ref ( ) . info . after_trim_radix_blocks_msb ( num_blocks) ;
778
+ let trimmed_ct_info = ct. as_ref ( ) . info . after_trim_radix_blocks_msb ( new_num_blocks) ;
780
779
T :: from ( CudaRadixCiphertext :: new ( trimmed_ct_list, trimmed_ct_info) )
781
780
}
782
781
You can’t perform that action at this time.
0 commit comments