From 2fd94258df22cc0b4b33fe9ce66fa1685ad2943f Mon Sep 17 00:00:00 2001 From: CPerezz Date: Tue, 17 Jan 2023 12:13:07 +0100 Subject: [PATCH] fix: Allow to compare `Assembly` structs This was missing in #123 so this PR fixes it. --- halo2_proofs/src/plonk/permutation/keygen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/halo2_proofs/src/plonk/permutation/keygen.rs b/halo2_proofs/src/plonk/permutation/keygen.rs index 04960ad7d0..81f224b7d7 100644 --- a/halo2_proofs/src/plonk/permutation/keygen.rs +++ b/halo2_proofs/src/plonk/permutation/keygen.rs @@ -12,7 +12,7 @@ use crate::{ }; /// Struct that accumulates all the necessary data in order to construct the permutation argument. -#[derive(Debug)] +#[derive(Debug, PartialEq, Eq)] pub struct Assembly { /// Columns that participate on the copy permutation argument. pub columns: Vec>,