Skip to content

Commit a88be3b

Browse files
committed
#88 - WeightedEdge.IsWeighted should return true (#88)
1 parent 16b0512 commit a88be3b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ bld/
1919

2020
# Roslyn cache directories
2121
*.ide/
22+
.ionide/
2223

2324
# MSTest test Results
2425
[Tt]est[Rr]esult*/
@@ -193,3 +194,4 @@ ModelManifest.xml
193194

194195
# Local test runner
195196
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)