diff --git a/spartan_parallel/src/sparse_mlpoly.rs b/spartan_parallel/src/sparse_mlpoly.rs index f968ca09..4213f498 100644 --- a/spartan_parallel/src/sparse_mlpoly.rs +++ b/spartan_parallel/src/sparse_mlpoly.rs @@ -1,7 +1,7 @@ #![allow(clippy::type_complexity)] #![allow(clippy::too_many_arguments)] #![allow(clippy::needless_range_loop)] -use crate::mle::Ext; +use crate::mle::{Base, Ext}; use crate::scalar::SpartanExtensionField; use super::dense_mlpoly::DensePolynomial; @@ -192,9 +192,9 @@ impl DerefsEvalProof { #[derive(Clone)] struct AddrTimestamps { ops_addr_usize: Vec>, - ops_addr: Vec>, - read_ts: Vec>, - audit_ts: DensePolynomial, + ops_addr: Vec>, + read_ts: Vec>, + audit_ts: DensePolynomial, } impl AddrTimestamps { @@ -204,8 +204,8 @@ impl AddrTimestamps { } let mut audit_ts = vec![0usize; num_cells]; - let mut ops_addr_vec: Vec> = Vec::new(); - let mut read_ts_vec: Vec> = Vec::new(); + let mut ops_addr_vec: Vec> = Vec::new(); + let mut read_ts_vec: Vec> = Vec::new(); for ops_addr_inst in ops_addr.iter() { let mut read_ts = vec![0usize; num_ops]; @@ -253,11 +253,11 @@ impl AddrTimestamps { pub struct MultiSparseMatPolynomialAsDense { batch_size: usize, - val: Vec>, + val: Vec>, row: AddrTimestamps, col: AddrTimestamps, - comb_ops: DensePolynomial, - comb_mem: DensePolynomial, + comb_ops: DensePolynomial, + comb_mem: DensePolynomial, } #[derive(Debug, Serialize, Deserialize, Clone)]