summaryrefslogtreecommitdiffstats
path: root/src/CS340.TSP/City.cs
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-04-26 00:47:15 -0500
committerToby Vincent <tobyv13@gmail.com>2021-04-26 00:47:15 -0500
commita41361e295357c23725ed35feab23da5d3af169a (patch)
treef69c9970bc490b2f68a87ab2d049f93f455bd546 /src/CS340.TSP/City.cs
parent9de1fcee15b89e8a08fdfe32752488d2c2026f0a (diff)
refactored TSPSolverv1.1.0develop
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; }