Closed ghost closed 6 years ago
https://www.nuget.org/packages/Advanced.Algorithms/0.0.140-beta
Please try latest release.
Still fails here: !parentMap[currentV].Equals(default(T)). Need to be:
while (!Equals(currentV, default(T)) && !Equals(parentMap[currentV], default(T))) ...
Updated
Plz one if not fixed. Thx
tracePath method implementation not working for all Nullible types. While loop:
while (!currentV.Equals(default(T)) && !parentMap[currentV].Equals(default(T)))
Will throw null reference exception on null.equals(null)