Description:
Fix bug in Edge's Equals method.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -23,7 +23,7 | |||||
|
23 |
|
23 | ||
|
24 | public override bool Equals(Object other) { |
|
24 | public override bool Equals(Object other) { |
|
25 | return ((other != null) |
|
25 | return ((other != null) |
|
26 |
&& |
|
26 | && this.GetType().Equals(other.GetType()) |
|
27 | && this == (Edge)other); //we just confirmed the types match so this is okay |
|
27 | && this == (Edge)other); //we just confirmed the types match so this is okay |
|
28 | } |
|
28 | } |
|
29 |
|
29 |
You need to be logged in to leave comments.
Login now