diff --git a/Graph/Edge.cs b/Graph/Edge.cs index 6a84822..9cfa252 100644 --- a/Graph/Edge.cs +++ b/Graph/Edge.cs @@ -3,8 +3,8 @@ public struct Edge { public Node neighbor { get; } - public ushort weight { get; } - public Edge(Node neighbor, ushort weight) + public double weight { get; } + public Edge(Node neighbor, double weight) { this.neighbor = neighbor; this.weight = weight;