Index: /branches/pap_mops/ppStack/src/ppStackMatch.c
===================================================================
--- /branches/pap_mops/ppStack/src/ppStackMatch.c	(revision 25191)
+++ /branches/pap_mops/ppStack/src/ppStackMatch.c	(revision 25192)
@@ -87,5 +87,5 @@
     x->n = y->n = numGood;
 
-    psTree *tree = psTreePlant(2, 2, x, y); // kd tree
+    psTree *tree = psTreePlant(2, 2, PS_TREE_EUCLIDEAN, x, y); // kd tree
 
     psArray *filtered = psArrayAllocEmpty(numGood); // Filtered list of sources
Index: /branches/pap_mops/psModules/src/objects/pmSourceMatch.c
===================================================================
--- /branches/pap_mops/psModules/src/objects/pmSourceMatch.c	(revision 25191)
+++ /branches/pap_mops/psModules/src/objects/pmSourceMatch.c	(revision 25192)
@@ -221,5 +221,5 @@
         } else {
             // Match with the master list
-            psTree *tree = psTreePlant(2, SOURCES_MAX_LEAF, xMaster, yMaster); // kd Tree with sources
+            psTree *tree = psTreePlant(2, SOURCES_MAX_LEAF, PS_TREE_EUCLIDEAN, xMaster, yMaster); // kd Tree
             long numMatch = 0;          // Number of matches
 
