> It works fine, but making {metric:'minkowski', p:2} default means that you can just change p without setting metric and it will work -- otherwise metric= 'euclidean' dominates and changing p without changing metric does nothing.

That's great. Thanks. I just preferred asking.