Skip to content

Commit

Permalink
Benchmark fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fmiguelgarcia committed Jul 31, 2023
1 parent 3e97252 commit af55526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kate/benches/reconstruct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ fn reconstruct(xts: &[AppExtrinsic]) {
assert_eq!(data[0].as_slice(), &xt.data);
}

let dims_cols: u32 = dims.cols.into();
let dims_cols: u32 = dims.cols().into();
let public_params = testnet::public_params(usize::try_from(dims_cols).unwrap());
for cell in random_cells(dims.cols, dims.rows, Percent::one()) {
for cell in random_cells(dims.cols(), dims.rows(), Percent::one()) {
let row: u32 = cell.row.into();

let proof = build_proof(&public_params, dims, &matrix, &[cell], &metrics).unwrap();
Expand Down

0 comments on commit af55526

Please sign in to comment.