unstable let

This commit is contained in:
elvis
2025-09-17 01:07:09 +02:00
parent d0408682d8
commit eee0439f6e

View File

@ -630,13 +630,12 @@ where
/// Computes the LTS.
/// equivalent to main_do(digraph, Arcs) or to main_do(advdigraph, Arcs)
pub fn digraph(system: &mut EvaluatedSystem) -> Result<(), String> {
if let Some(sys) = &system.sys
&& system.graph.is_none()
if let (Some(sys), true) = (&system.sys, system.graph.is_none())
{
let graph = sys.digraph()?;
system.graph = Some(graph);
} else if let Some(positive) = &system.positive
&& system.graph.is_none()
} else if let (Some(positive), true) =
(&system.positive, system.graph.is_none())
{
let _graph = positive.digraph()?;
todo!()