-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix floyd_warshall_numpy dispatcher (#302)
Fix bug found during #291 benchmarking. floyd_warshall_numpy() was dispatching to the wrong function and calling adjacency_matrix() instead of graph_floyd_warshall_numpy() and digraph_floyd_warshall_numpy(). * Fix wrong dispatch * Fix docstrings * Fix typo * Improve test for Floyd-Warshall dispatch * Add bug fix notes * Move release notes from wrong folder
- Loading branch information
1 parent
bb6b487
commit 77ebc40
Showing
4 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
File renamed without changes.
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,6 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fix bug in :func:`~retworkx.floyd_warshall_numpy` in which the dispatcher mistakenly called | ||
:func:`~retworkx.adjacency_matrix` instead of :func:`~retworkx.graph_floyd_warshall_numpy` | ||
and :func:`~retworkx.digraph_floyd_warshall_numpy`. |
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