-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
vf2pp_is_isomorphic returns wrong results #6257
Copy link
Copy link
Closed
Labels
Description
Current Behavior
import networkx as nx
g = nx.MultiDiGraph({0: [1, 1, 2, 2, 3], 1: [2, 3, 3], 2: [3]})
h = nx.MultiDiGraph({0: [1, 1, 2, 2, 3], 1: [2, 3, 3], 3: [2]})
print(nx.is_isomorphic(g, h))
print(nx.vf2pp_is_isomorphic(g, h))
prints:
False
True
Expected Behavior
Prints:
False
False
Steps to Reproduce
See above.
Environment
Python version: 3.11.0
NetworkX version: 3.0rc1
Additional context
Reactions are currently unavailable