unstable let
This commit is contained in:
@ -630,13 +630,12 @@ where
|
|||||||
/// Computes the LTS.
|
/// Computes the LTS.
|
||||||
/// equivalent to main_do(digraph, Arcs) or to main_do(advdigraph, Arcs)
|
/// equivalent to main_do(digraph, Arcs) or to main_do(advdigraph, Arcs)
|
||||||
pub fn digraph(system: &mut EvaluatedSystem) -> Result<(), String> {
|
pub fn digraph(system: &mut EvaluatedSystem) -> Result<(), String> {
|
||||||
if let Some(sys) = &system.sys
|
if let (Some(sys), true) = (&system.sys, system.graph.is_none())
|
||||||
&& system.graph.is_none()
|
|
||||||
{
|
{
|
||||||
let graph = sys.digraph()?;
|
let graph = sys.digraph()?;
|
||||||
system.graph = Some(graph);
|
system.graph = Some(graph);
|
||||||
} else if let Some(positive) = &system.positive
|
} else if let (Some(positive), true) =
|
||||||
&& system.graph.is_none()
|
(&system.positive, system.graph.is_none())
|
||||||
{
|
{
|
||||||
let _graph = positive.digraph()?;
|
let _graph = positive.digraph()?;
|
||||||
todo!()
|
todo!()
|
||||||
|
|||||||
Reference in New Issue
Block a user