-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround is_isormorphic returning false for 2 empty graphs (#422)
* Workaround is_isormorphic returning false for 2 empty graphs This commit works around the bug in the vf2 implementation for empty graphs where no mapping is found for is_isomorphic. It's just a workaround for the issue reported in #421 and I'm sure there is a better real fix, but in the interest of having a solution proposed in the short term this was fast. Fixes #421 * Bump versions and prepare for release * Update src/isomorphism/vf2.rs Co-authored-by: Ivan Carvalho <[email protected]> * Add subgraph isomorphic tests too
- Loading branch information
Showing
9 changed files
with
133 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "retworkx" | ||
description = "A python graph library implemented in Rust" | ||
version = "0.10.0" | ||
version = "0.10.1" | ||
authors = ["Matthew Treinish <[email protected]>"] | ||
license = "Apache-2.0" | ||
readme = "README.md" | ||
|
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/0.10.0/fix-empty-isomorphism-ccea235b81119b20.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
prelude: > | ||
This is a bugfix release that fixes a regression introduced in the previous | ||
0.10.0 release. In 0.10.0 the :func:`~retworkx.is_isomorphic` function when | ||
comparing 2 empty graph objects would incorrectly return ``False``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters