Skip to content

Commit

Permalink
Recursive bit
Browse files Browse the repository at this point in the history
  • Loading branch information
BradenEverson committed Mar 24, 2024
1 parent 20d6bf8 commit 908c88f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/graph/subterm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ impl Context {
}
}

//Recursive recall if we changed something and modifications are still available
if !changed {
return Ok(false);
} else {
self.extract_subterms(outputs, modification_limit - modifications)?;
}
Ok(changed)
}
}

0 comments on commit 908c88f

Please sign in to comment.