Skip to content

Commit 1481d3c

Browse files
Merge pull request #113 from aalhour/88-weighted-edge-class-returns-weighted-flag-false
Looks good to me :)
2 parents cbf2b44 + a88be3b commit 1481d3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,4 @@ ModelManifest.xml
194194

195195
# Local test runner
196196
testrunner
197+

DataStructures/Graphs/WeightedEdge.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ public class WeightedEdge<TVertex> : IEdge<TVertex> where TVertex : IComparable<
3232
/// </summary>
3333
public bool IsWeighted
3434
{
35-
get
36-
{ return false; }
35+
get { return true; }
3736
}
3837

3938
/// <summary>

0 commit comments

Comments
 (0)