Index: branches/eam_branches/ipp-20110213/psphot/src/psphotSourceMatch.c
===================================================================
--- branches/eam_branches/ipp-20110213/psphot/src/psphotSourceMatch.c	(revision 30883)
+++ branches/eam_branches/ipp-20110213/psphot/src/psphotSourceMatch.c	(revision 30892)
@@ -86,10 +86,10 @@
         if (!src) NEXT1; 
         if (!src->peak) NEXT1; 
-        if (!finite(src->peak->xf)) NEXT1; 
-        if (!finite(src->peak->yf)) NEXT1; 
+        if (!isfinite(src->peak->xf)) NEXT1; 
+        if (!isfinite(src->peak->yf)) NEXT1; 
  
         if (!obj) NEXT2; 
-        if (!finite(obj->x)) NEXT2; 
-        if (!finite(obj->y)) NEXT2; 
+        if (!isfinite(obj->x)) NEXT2; 
+        if (!isfinite(obj->y)) NEXT2; 
  
         dx = src->peak->xf - obj->x; 
