[Scipy-tickets] [SciPy] #1701: csgraph.shortest_path failures

SciPy Trac scipy-tickets@scipy....
Sun Jul 15 19:04:51 CDT 2012

#1701: csgraph.shortest_path failures
 Reporter:  rgommers              |       Owner:  jakevdp
     Type:  defect                |      Status:  new    
 Priority:  normal                |   Milestone:  0.11.0 
Component:  scipy.sparse.csgraph  |     Version:  0.10.0 
 Keywords:  shortest_path         |  

Comment(by jakevdp):

 Setting `dist_array` to zeros is the correct thing to do here.  I don't
 know how I missed that (and it's frankly pretty surprising that it ever
 gives correct results otherwise!)

Ticket URL: <http://projects.scipy.org/scipy/ticket/1701#comment:5>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list