diff --git a/sample/testkd.cpp b/sample/testkd.cpp index a3c76e7..ada6561 100644 --- a/sample/testkd.cpp +++ b/sample/testkd.cpp @@ -11,7 +11,7 @@ using namespace std; using namespace CosmoTool; typedef KDTree MyTree; -typedef KDCell MyCell; +typedef MyTree::Cell MyCell; MyCell *findNearest(MyTree::coords& xc, MyCell *cells, uint32_t Ncells) {