BUG: spatial: (ticket #1146) pdist didn't handle the weighted minkowski function correctly (the 'w' argument was not defined); also fixed and simplified other code. Thanks to Teemu Ikonen for some of the patches.
BUG: spatial: (ticket #1146) pdist didn't handle the weighted minkowski function correctly (the 'w' argument was not defined); also fixed and simplified other code. Thanks to Teemu Ikonen for some of the patches.

datamade/hcluster,datamade/hcluster,datamade/hcluster