Skip to content

Commit

Permalink
Merge pull request #38 from availproject/miguel/minor_bech_fix
Browse files Browse the repository at this point in the history
Some bench's fixes
  • Loading branch information
fmiguelgarcia authored Aug 1, 2023
2 parents 3e97252 + af55526 commit e21b38f
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 e21b38f

Please sign in to comment.