Open zhiqiangxu opened 1 year ago
If extended_k > S, the for loop will do nothing:
extended_k > S
for _ in extended_k..F::S { extended_omega = extended_omega.square(); }
and extended_omega will be left as F::ROOT_OF_UNITY, which is incorrect.
extended_omega
F::ROOT_OF_UNITY
If
extended_k > S
, the for loop will do nothing:and
extended_omega
will be left asF::ROOT_OF_UNITY
, which is incorrect.