[Scipy-tickets] [SciPy] #1247: _kmeans chokes on large thresholds

SciPy Trac scipy-tickets@scipy....
Sun Jul 25 11:05:26 CDT 2010


#1247: _kmeans chokes on large thresholds
---------------------------+------------------------------------------------
 Reporter:  kwgoodman      |       Owner:  somebody
     Type:  defect         |      Status:  new     
 Priority:  normal         |   Milestone:  0.9.0   
Component:  scipy.cluster  |     Version:  0.7.0   
 Keywords:                 |  
---------------------------+------------------------------------------------

Comment(by kwgoodman):

 Oh, sorry, the "dist >= thresh" fix has a problem. If thresh is zero and
 dist is zero then an infinite loop results. In that case the docstring
 should be updated instead (to say less than or equal).

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


More information about the Scipy-tickets mailing list