scikit-learn/scikit-learn — pull request #588 by jakevdp (2012-01-26 15:33:51+00:00)
Title: initialize indices and distances in balltree

This fixes the problems discussed in issue #585. There were arrays which were not being initialized, which led to invalid settings of the warning flag. This issue did not affect the neighbors and distances which were eventually returned.