[pack]: fixed typo that would cause to always return a full list of indices

This commit is contained in:
Jean-Philippe Bossuat
2025-01-10 11:59:15 +01:00
parent 332e07dbbf
commit 29a02292ae

View File

@@ -55,7 +55,7 @@ impl Ring<u64> {
// Retrives non-empty indexes
polys.iter().enumerate().for_each(|(i, poly)| {
if Some(poly) != None {
if !poly.is_none() {
indices.push(i);
}
});