networkx icon indicating copy to clipboard operation
networkx copied to clipboard

`rooted_product()` should raise `NodeNotFound` when `root` is not in `H`

Open Peiffap opened this issue 1 year ago • 0 comments

rooted_product() currently raises a NetworkXError when root is not in H, but I believe NodeNotFound makes more sense (ref.).

I suggest waiting with this until #7484 gets merged/closed, otherwise it will introduce conflicts.

Peiffap avatar Jun 04 '24 23:06 Peiffap