Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
@not_implemented_for("directed")
to `number_connected_component…
…s` (networkx#7074) Previously, it was relying on a call to `connected_components` to check the graph type, but this doesn't work well when dispatching to a backend. Also, fix an exception message.
- Loading branch information