scikit-learn/scikit-learn — comment on commit 20d85cc7d693aa2bb049d1f15fe0c5b47df37af7
File: sklearn/cluster/hierarchical.py line 235
By ogrisel:

I think it's better to raise `ValueError` with an explicit messages that recaps explicitly the passed values for the `n_clusters` and `n_leaves` variables.