small fix

This commit is contained in:
elvis
2025-09-11 17:42:54 +02:00
parent 52a9f407e6
commit fa1127358d
2 changed files with 5 additions and 1 deletions

View File

@ -861,8 +861,9 @@ fn execute(
save_options!(fast_freq(system, experiment)?, so);
},
| Instruction::Digraph { group, gso } => {
digraph(system)?;
let mut graph = system.clone();
digraph(&mut graph)?;
if let Some(group) = group {
group.typecheck()?;
grouping(&mut graph, &group)?;