Skip to content

Commit dbfafe5

Browse files
author
Kunming Jiang
committed
Update setup
1 parent a846222 commit dbfafe5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ set -euxo pipefail
44
(
55
cd circ_blocks
66
cargo build --release --example zxc --no-default-features --features r1cs,smt,zok
7+
cd ../spartan_parallel
8+
RUSTFLAGS="-C target_cpu=native" cargo build --release --features profile --example interface
79
)

spartan_parallel/src/custom_dense_mlpoly.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub fn rev_bits(q: usize, max_num_proofs: usize) -> usize {
4141
impl<S: SpartanExtensionField> DensePolynomialPqx<S> {
4242
// Assume z_mat is of form (p, q_rev, x), construct DensePoly
4343
pub fn new(
44-
z_mat: &Vec<Vec<Vec<Vec<S>>>>,
44+
z_mat: Vec<Vec<Vec<Vec<S>>>>,
4545
num_proofs: Vec<usize>,
4646
max_num_proofs: usize,
4747
num_inputs: Vec<usize>,
@@ -56,7 +56,7 @@ impl<S: SpartanExtensionField> DensePolynomialPqx<S> {
5656
num_witness_secs,
5757
num_inputs,
5858
max_num_inputs,
59-
Z: z_mat.clone(),
59+
Z: z_mat,
6060
}
6161
}
6262

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const u32 REPETITION = 1000
1+
const u32 REPETITION = 10000

0 commit comments

Comments
 (0)