Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
add Debug trait to PartitionWitness to enable trace information output (
Browse files Browse the repository at this point in the history
  • Loading branch information
wizicer authored Dec 21, 2023
1 parent 7eff4e2 commit cb3f91a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plonky2/src/iop/witness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ impl<F: Field> Witness<F> for PartialWitness<F> {

/// `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<Option<F>>,
pub representative_map: &'a [usize],
Expand Down

0 comments on commit cb3f91a

Please sign in to comment.