System behind reference

This commit is contained in:
elvis
2025-06-12 20:12:21 +02:00
parent c9e3701460
commit 0975d593f8
3 changed files with 18 additions and 14 deletions

View File

@ -65,10 +65,10 @@ impl<'a> Iterator for TransitionsIterator<'a> {
ireactants,
products.clone()
);
let new_system = RSsystem::from(self.system.get_delta().clone(),
let new_system = RSsystem::from(Rc::clone(self.system.get_delta()),
products,
(*k).clone(),
self.system.get_reaction_rules().clone()
Rc::clone(self.system.get_reaction_rules())
);
Some((label, new_system))
}