networkx/networkx — pull request #832 by bjedwards (2013-01-28 22:34:33+00:00)
Title: Correctly initialize the distances in floyd_warshall_predecessor_distance.

Report distance 0 for the distance from a node to itself. Also adds a test to
be sure this is correct.