mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 05:06:44 +01:00
[pack]: fixed typo that would cause to always return a full list of indices
This commit is contained in:
@@ -55,7 +55,7 @@ impl Ring<u64> {
|
|||||||
|
|
||||||
// Retrives non-empty indexes
|
// Retrives non-empty indexes
|
||||||
polys.iter().enumerate().for_each(|(i, poly)| {
|
polys.iter().enumerate().for_each(|(i, poly)| {
|
||||||
if Some(poly) != None {
|
if !poly.is_none() {
|
||||||
indices.push(i);
|
indices.push(i);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user