A few more comments

This commit is contained in:
Sarah Jamie Lewis 2021-08-14 11:16:55 -07:00
parent 64fef1848c
commit edc152aade
1 changed files with 2 additions and 1 deletions

View File

@ -205,6 +205,7 @@ impl Solver {
println!("Found {} Kernel Basis Vectors...", count);
let mut solution = vec![];
// Check all the basis vectors...
let basis_state = self.expanded_hashes.len() - count;
for i in 0..self.expanded_hashes.len() {
let mut is_zero = true;
@ -232,7 +233,7 @@ mod tests {
fn it_works() {
let mut rng = OsRng;
let s = 4u64;
let t = 5u64;
let t = 6u64;
let dhf = Generator::generate(&mut rng, s, t);
let mut solver = Solver::new(s, t);