mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 07:13:08 +00:00
Require a PrimeField to be its own PrimeField (#383)
This commit is contained in:
parent
c6ac8e1b3e
commit
5eaa1ad529
@ -404,7 +404,7 @@ pub trait Field:
|
||||
}
|
||||
|
||||
/// A finite field of prime order less than 2^64.
|
||||
pub trait PrimeField: Field {
|
||||
pub trait PrimeField: Field<PrimeField = Self> {
|
||||
const ORDER: u64;
|
||||
|
||||
/// The number of bits required to encode any field element.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user