mirror of https://github.com/zcash/halo2.git
Merge pull request #279 from zcash/derive-eq
plonk::circuit : Derive Eq for Permutation
This commit is contained in:
commit
256055c656
|
@ -190,7 +190,7 @@ impl Selector {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A permutation.
|
/// A permutation.
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||||
pub struct Permutation {
|
pub struct Permutation {
|
||||||
/// The index of this permutation.
|
/// The index of this permutation.
|
||||||
index: usize,
|
index: usize,
|
||||||
|
|
Loading…
Reference in New Issue