mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-05-23 18:29:25 +00:00
fmt
This commit is contained in:
parent
625544565d
commit
dde24e6b30
@ -123,10 +123,7 @@ fn gen_fp6() -> [[u32; 2]; 3] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn as_stack(xs: Vec<u32>) -> Vec<U256> {
|
fn as_stack(xs: Vec<u32>) -> Vec<U256> {
|
||||||
xs.iter()
|
xs.iter().map(|&x| U256::from(x) % P254).rev().collect()
|
||||||
.map(|&x| U256::from(x) % P254)
|
|
||||||
.rev()
|
|
||||||
.collect()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user