Skip to content
Snippets Groups Projects
Commit f087d1cd authored by George Marchment's avatar George Marchment
Browse files

update longest name

parent b0dec6be
No related branches found
No related tags found
No related merge requests found
Pipeline #14141 passed with stage
in 2 minutes and 24 seconds
......@@ -599,7 +599,7 @@ def get_name_new_node(new_nodes, relevant_modules):
#Arbitrary choice of choosing the name with the longest name
longest_name = new_nodes[0][0]
for name in new_nodes:
if(len(longest_name)>len(name[0])):
if(len(longest_name)<len(name[0])):
longest_name = name[0]
return longest_name
......
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