fixed a bug of the Ptr typdef in search::KdTree
Merge pull request #820 from prclibo/master

fixed a bug of the Ptr typdef in search::KdTree