diff options
author | Toby Vincent <tobyv13@gmail.com> | 2021-04-26 00:47:15 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2021-04-26 00:47:15 -0500 |
commit | a41361e295357c23725ed35feab23da5d3af169a (patch) | |
tree | f69c9970bc490b2f68a87ab2d049f93f455bd546 /src/CS340.TSP/City.cs | |
parent | 9de1fcee15b89e8a08fdfe32752488d2c2026f0a (diff) |
Diffstat (limited to 'src/CS340.TSP/City.cs')
-rw-r--r-- | src/CS340.TSP/City.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CS340.TSP/City.cs b/src/CS340.TSP/City.cs index f60cc92..4889bdb 100644 --- a/src/CS340.TSP/City.cs +++ b/src/CS340.TSP/City.cs @@ -13,7 +13,7 @@ namespace TSP public partial class City : Vertex, IVertex, IComparable<INode> { - public new double Key { get => this[Parent].Weight; set => Key = value; } + public new double Key { get => this[Parent].Weight; } public Coordinate Location { get; set; } |