-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
99 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
use plonky2::hash::hash_types::RichField; | ||
use prettytable::Table; | ||
|
||
pub fn debug_table<F: RichField, const COLS: usize>( | ||
table_name: &str, | ||
headings: [&str; COLS], | ||
values: &Vec<[F; COLS]>, | ||
) { | ||
let mut table = Table::new(); | ||
table.add_row(headings.into()); | ||
for row in values { | ||
table.add_row(row.into()); | ||
} | ||
println!("TRACE OUTPUT: {}\n", table_name); | ||
table.printstd(); | ||
} |
This file was deleted.
Oops, something went wrong.