Skip to content

Commit

Permalink
fix: Code review tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarth committed Aug 1, 2023
1 parent f689ddc commit 06d382d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion src/ccs/multifolding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ mod tests {

// evaluating g(x) over the boolean hypercube should give the same result as evaluating the
// sum of gamma^j * v_j over j \in [t]

assert_eq!(g_on_bhc, sum_v_j_gamma);
}

Expand Down
15 changes: 0 additions & 15 deletions src/hypercube.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,6 @@ impl<Scalar: PrimeField> Iterator for BooleanHypercube<Scalar> {
Some(point)
}
}

// fn next(&mut self) -> Option<Self::Item> {
// if self.current >= self.max {
// None
// } else {
// let bits = bit_decompose(self.current, self.n_vars);
// let point: Vec<Scalar> = bits
// .iter()
// .map(|&bit| Scalar::from(bit as u64))
// .rev()
// .collect();
// self.current += 1;
// Some(point)
// }
// }
}

/// Decompose an integer into a binary vector in little endian.
Expand Down

0 comments on commit 06d382d

Please sign in to comment.