Skip to content
Snippets Groups Projects
Commit 369efdba authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Polish

parent 445dd585
No related branches found
No related tags found
No related merge requests found
......@@ -80,6 +80,8 @@ for trajectory in trajectories.values():
key = trajectory[0]
for val in trajectory:
node = util.find_vertex(g, g.vp.name, val)
# (Maybe a loop with a break on the first match is faster. To
# be tested.)
if len(node) != 1:
print('Something is wrong.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment