File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
libfqfft/evaluation_domain/domains Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ bool basic_radix2_domain<FieldT>::valid_for_size(const size_t m)
3737 return false ;
3838 }
3939
40- if ( get_root_of_unity_will_throw<FieldT>(m) )
40+ if ( get_root_of_unity_will_throw<FieldT>(m))
4141 return false ;
4242
4343 return true ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ namespace libfqfft {
2020template <typename FieldT>
2121bool extended_radix2_domain<FieldT>::valid_for_size(const size_t m)
2222{
23- if ( m <= 1 )
23+ if (m <= 1 )
2424 return false ;
2525
2626 // Will `get_root_of_unity` throw?
@@ -34,7 +34,7 @@ bool extended_radix2_domain<FieldT>::valid_for_size(const size_t m)
3434
3535 size_t small_m = m / 2 ;
3636
37- if ( get_root_of_unity_will_throw<FieldT>(small_m) )
37+ if ( get_root_of_unity_will_throw<FieldT>(small_m))
3838 return false ;
3939
4040 return true ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ namespace libfqfft {
2020template <typename FieldT>
2121bool step_radix2_domain<FieldT>::valid_for_size(const size_t m)
2222{
23- if ( m <= 1 )
23+ if (m <= 1 )
2424 return false ;
2525
2626 const size_t big_m = 1ul <<(libff::log2 (m)-1 );
@@ -30,11 +30,11 @@ bool step_radix2_domain<FieldT>::valid_for_size(const size_t m)
3030 return false ;
3131
3232 // omega
33- if ( get_root_of_unity_will_throw<FieldT>(1ul <<libff::log2 (m)) )
33+ if ( get_root_of_unity_will_throw<FieldT>(1ul <<libff::log2 (m)))
3434 return false ;
3535
3636 // small_omega
37- if ( get_root_of_unity_will_throw<FieldT>(1ul <<libff::log2 (small_m)) )
37+ if ( get_root_of_unity_will_throw<FieldT>(1ul <<libff::log2 (small_m)))
3838 return false ;
3939
4040 return true ;
@@ -53,7 +53,7 @@ step_radix2_domain<FieldT>::step_radix2_domain(const size_t m) : evaluation_doma
5353
5454 try { omega = libff::get_root_of_unity<FieldT>(1ul <<libff::log2 (m)); }
5555 catch (const std::invalid_argument& e) { throw DomainSizeException (e.what ()); }
56-
56+
5757 big_omega = omega.squared ();
5858 small_omega = libff::get_root_of_unity<FieldT>(small_m);
5959}
You can’t perform that action at this time.
0 commit comments