mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-04 23:03:08 +00:00
Revert changes in cyclic_subgroup_unknown_order
This commit is contained in:
parent
8541a04b4c
commit
5100e032d8
@ -283,7 +283,7 @@ pub trait Field:
|
||||
}
|
||||
|
||||
fn cyclic_subgroup_unknown_order(generator: Self) -> Vec<Self> {
|
||||
let mut subgroup = Vec::with_capacity(Self::TWO_ADICITY);
|
||||
let mut subgroup = Vec::new();
|
||||
for power in generator.powers() {
|
||||
if power.is_one() && !subgroup.is_empty() {
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user