Skip to content

Commit

Permalink
accidentally deleted inline
Browse files Browse the repository at this point in the history
  • Loading branch information
Cobord committed Mar 18, 2024
1 parent 9f91399 commit e3a3c08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quantinuum-hugr/src/hugr/rewrite/simple_replace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ impl Rewrite for SimpleReplacement {
Ok(())
}

#[inline]
fn invalidation_set(&self) -> impl Iterator<Item = Node> {
let subcirc = self.subgraph.nodes().iter().copied();
let out_neighs = self.nu_out.keys().map(|key| key.0);
Expand Down

0 comments on commit e3a3c08

Please sign in to comment.