Fix, clippy now working better

This commit is contained in:
elvis
2025-09-28 17:11:43 +02:00
parent dee8a3a5ff
commit 164e1d883c
7 changed files with 461 additions and 139 deletions

View File

@ -187,6 +187,7 @@ impl<'a> Iterator
);
let new_system = PositiveSystem::from(
Rc::clone(&self.system.delta),
// products.add_unique(&self.system.negated_products_elements()),
products,
(*k).clone(),
Rc::clone(&self.system.reaction_rules),
@ -224,6 +225,14 @@ impl<'a> TryFrom<&'a PositiveSystem>
}
}
impl<'a> Iterator for TraceIterator<'a, Set, System, Process> {
type Item = (Set, Set, Vec<usize>, System);
fn next(&mut self) -> Option<Self::Item> {
unimplemented!()
}
}
impl<'a> Iterator
for TraceIterator<'a, PositiveSet, PositiveSystem, PositiveProcess>
{
@ -249,14 +258,16 @@ impl<'a> Iterator
let new_system = PositiveSystem::from(
Rc::clone(&self.system.delta),
all_products,
// all_products.add_unique(&self.system.
// negated_products_elements()),
all_products.clone(),
(*k).clone(),
Rc::clone(&self.system.reaction_rules),
);
Some((
context.as_ref().clone(),
self.system.available_entities().clone(),
all_products.mask(&self.system.products_elements()),
enabled_reaction_positions,
new_system,
))