Skip to content

Commit 903c840

Browse files
committed
Style consistency
1 parent bfa074f commit 903c840

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

libfqfft/evaluation_domain/domains/basic_radix2_domain.tcc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

libfqfft/evaluation_domain/domains/extended_radix2_domain.tcc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace libfqfft {
2020
template<typename FieldT>
2121
bool 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;

libfqfft/evaluation_domain/domains/step_radix2_domain.tcc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace libfqfft {
2020
template<typename FieldT>
2121
bool 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
}

0 commit comments

Comments
 (0)