Skip to content

Commit

Permalink
fix: merge_bbs creating too many self-loop edges (#1147)
Browse files Browse the repository at this point in the history
Updates `portgraph` to include the fix in
CQCL/portgraph#132.
Uncomments the previously-failing mentioned in #1143.

Fixes #1143.
  • Loading branch information
aborgna-q authored Jun 3, 2024
1 parent 64d03e7 commit 0bd6513
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ missing_docs = "warn"
debug_assert_with_mut_call = "warn"

[workspace.dependencies]
portgraph = { version = "0.12.0" }
portgraph = { version = "0.12.1" }
insta = { version = "1.34.0" }
bitvec = "1.0.1"
cgmath = "0.18.0"
Expand Down Expand Up @@ -55,7 +55,7 @@ thiserror = "1.0.28"
typetag = "0.2.7"
urlencoding = "2.1.2"
webbrowser = "1.0.0"
clap = { version = "4.5.4"}
clap = { version = "4.5.4" }
clap-stdin = "0.4.0"
clap-verbosity-flag = "2.2.0"
assert_cmd = "2.0.14"
Expand Down
2 changes: 1 addition & 1 deletion hugr-passes/src/merge_bbs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ mod test {
}

#[rstest]
//#[case(true)] // This currently failing, https://github.com/CQCL/hugr/issues/1143
#[case(true)]
#[case(false)]
fn in_loop(#[case] self_loop: bool) -> Result<(), Box<dyn std::error::Error>> {
/* self_loop==False:
Expand Down

0 comments on commit 0bd6513

Please sign in to comment.