-
Notifications
You must be signed in to change notification settings - Fork 6
indentation #3
Copy link
Copy link
Open
Description
when running on a small problem I get:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.9-x86_64/egg/Christofides/christofides.py", line 164, in compute
File "build/bdist.macosx-10.9-x86_64/egg/Christofides/christofides.py", line 120, in Euler_Tour
UnboundLocalError: local variable 'edge' referenced before assignment
I looks like the lines 120-123 in Christofides/christofides.py are wrongly indented with the for loop, maybe they should be indented with if command above.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels