birkhoff
birkhoff copied to clipboard
Replace `from_numpy_matrix` with `from_numpy_array` in `birkhoff_von_neumann_decomposition`
In NetworkX 3.0, the from_numpy_matrix function was removed and replaced with from_numpy_array. However, the dependency on from_numpy_matrix is still present in the birkhoff_von_neumann_decomposition function. Replacing it with from_numpy_array would solve the issue.