-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix directed gnp_random_graph (#954)
* Initial tests * Convert gnp_random to networkx version * Fix directed gnp random graph * Format * Fix test * Fix dot tests * Expand directed gnp test * Lint * Remove ddt * Fix ret-back-compat * Release note * Ret tests * Lint * Ret again * Line too long * Add try_into for usize to isize * Use match for isize Err
- Loading branch information
1 parent
f1d02e3
commit a44239c
Showing
4 changed files
with
66 additions
and
24 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/fix-gnp-random-directed-41f2a436c49b9064.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,7 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed an issue where the :func:`~rustworkx.generators.directed_gnp_random_graph` | ||
and the :func:`~rustworkx-core.generators.gnp_random_graph` for directed graphs | ||
produced a graph where lower node numbers had only a small number of edges | ||
compared to what was expected. |
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