Skip to content

Commit

Permalink
Fix giant inference hang
Browse files Browse the repository at this point in the history
  • Loading branch information
ericphanson committed Sep 20, 2019
1 parent 04b6829 commit 6f6150a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TravelingSalesmanExact.jl
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ end
Try to parse the ".tsp" file given by `filename`. Very simple implementation just to be able to test the optimization; may break on other files. Returns a list of cities for use in `get_optimal_tour`.
"""
function simple_parse_tsp(filename; verbose = true)
cities = []
cities = Vector{Int}[]
for line in readlines(filename)
if startswith(line, '1':'9')
nums = split(line, " ")
Expand Down

0 comments on commit 6f6150a

Please sign in to comment.