Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-q committed Dec 10, 2024
1 parent 0d0b0d1 commit 0bd18e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hugr-passes/src/const_fold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ impl<H: HugrView> DFContext<ValueHandle> for ConstFoldContext<'_, H> {
.filter_map(|((i, ty), pv)| {
pv.clone()
.try_into_concrete(ty)
.ok()
.map(|v| (IncomingPort::from(i), v))
})
.collect::<Vec<_>>();
Expand Down

0 comments on commit 0bd18e9

Please sign in to comment.