scipy.cluster.hierarchy.ClusterNode.pre_order returns IndexError for non-root node (Trac #1652) #2177
Labels
defect
A clear bug or issue that prevents SciPy from being installed or used as expected
Migrated from Trac
scipy.cluster
Milestone
Original ticket http://projects.scipy.org/scipy/ticket/1652 on 2012-04-30 by trac user MarkPundurs, assigned to unknown.
To reproduce the error, run the following script:
The result is:
One possible solution (successfully tested with preceding script) is to change pre_order in hierarchy.py as follows:
The text was updated successfully, but these errors were encountered: