Skip to content

Commit

Permalink
Change recursive call
Browse files Browse the repository at this point in the history
  • Loading branch information
BradenEverson committed Mar 24, 2024
1 parent 908c88f commit 9d18fe3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/graph/subterm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ impl Context {
if !changed {
return Ok(false);
} else {
self.extract_subterms(outputs, modification_limit - modifications)?;
return Ok(changed || self.extract_subterms(outputs, modification_limit - modifications)?);
}
Ok(changed)
}
}

0 comments on commit 9d18fe3

Please sign in to comment.