fix: Attempting further ddf fixes #26

Merged
0xalivecow merged 1 commit from dev into main 2024-11-27 12:48:54 +00:00
Showing only changes of commit fa7d33aaf6 - Show all commits

View file

@ -38,8 +38,6 @@ pub fn ddf(f: Polynomial) -> Vec<(Polynomial, u128)> {
if f_star != one_cmp { if f_star != one_cmp {
eprintln!("fstar not one"); eprintln!("fstar not one");
z.push((f_star.clone(), f_star.degree() as u128)); z.push((f_star.clone(), f_star.degree() as u128));
} else if z.len() == 0 {
z.push((f.clone(), 1));
} }
z z