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

@ -16,3 +16,6 @@ petgraph = { version = "*", features = ["serde-1"] }
petgraph-graphml = { version = "5" }
serde = { version = "1", features = ["derive", "rc"] }
serde_cbor_2 = { version = "*" }
[profile.dev]
split-debuginfo = "unpacked"

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)?;