summaryrefslogtreecommitdiffstats
path: root/src/CS340.TSP/City.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/CS340.TSP/City.cs')
-rw-r--r--src/CS340.TSP/City.cs2
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; }