From cb3f91a003497886f6da944aca1a0d1bfd1e4269 Mon Sep 17 00:00:00 2001 From: Icer Date: Thu, 21 Dec 2023 16:33:42 +0800 Subject: [PATCH] add Debug trait to PartitionWitness to enable trace information output (#1437) --- plonky2/src/iop/witness.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plonky2/src/iop/witness.rs b/plonky2/src/iop/witness.rs index d5b8dd04..cf74be51 100644 --- a/plonky2/src/iop/witness.rs +++ b/plonky2/src/iop/witness.rs @@ -297,7 +297,7 @@ impl Witness for PartialWitness { /// `PartitionWitness` holds a disjoint-set forest of the targets respecting a circuit's copy constraints. /// The value of a target is defined to be the value of its root in the forest. -#[derive(Clone)] +#[derive(Clone, Debug)] pub struct PartitionWitness<'a, F: Field> { pub values: Vec>, pub representative_map: &'a [usize],