Skip to content

Commit

Permalink
the argument should be firstcity (lowercase) (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Kröger authored and evanfields committed Nov 21, 2018
1 parent 53b9c0c commit 84487dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TravelingSalesmanHeuristics.jl
Expand Up @@ -211,8 +211,8 @@ Complete a tour using cheapest insertion with a single-city loop as the initial
tuple `(path, cost)`.
### Optional keyword arguments:
- `firstCity::Union{Int, Nothing}`: specifies the city to begin the path on. Passing `nothing` or
not specifying a value corresponds to random selection.
- `firstcity::Union{Int, Nothing}`: specifies the city to begin the path on. Passing `nothing` or
not specifying a value corresponds to random selection.
- `do2opt::Bool = true`: whether to improve the path found by 2-opt swaps.
"""
function cheapest_insertion(distmat::AbstractMatrix{T} where{T<:Real};
Expand Down

0 comments on commit 84487dd

Please sign in to comment.