Skip to content

Commit 74d096a

Browse files
committed
Fix get_root_of_unity complex value
1 parent 03b719a commit 74d096a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

libff/algebra/fields/field_utils.tcc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ get_root_of_unity(const size_t n)
3030
{
3131
const double PI = 3.141592653589793238460264338328L;
3232

33-
#ifdef MULTICORE
34-
return FieldT(std::complex<double>(cos(4 * PI / n), sin(4 * PI / n)));
35-
#else
3633
return FieldT(cos(2 * PI / n), sin(2 * PI / n));
37-
#endif
3834
}
3935

4036
template<typename FieldT>

0 commit comments

Comments
 (0)