Skip to content

Commit

Permalink
Fixed small indentation issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
goramos committed Aug 25, 2016
1 parent 9b5f929 commit 93674db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions KSP.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,11 @@ def KShortestPaths(V, E, origin, destination, K):

for k in xrange(1,K+1):
try:
if not runKShortestPathsStep(V, E, origin, destination, k, A, B):
break
if not runKShortestPathsStep(V, E, origin, destination, k, A, B):
break
except:
print 'Problem on generating more paths! Only %d paths were found!' % (k-1)
break
print 'Problem on generating more paths! Only %d paths were found!' % (k-1)
break

return A

Expand Down

0 comments on commit 93674db

Please sign in to comment.