Index: trunk/psastro/src/psastroExtractGhosts.c
===================================================================
--- trunk/psastro/src/psastroExtractGhosts.c	(revision 23669)
+++ trunk/psastro/src/psastroExtractGhosts.c	(revision 23810)
@@ -89,9 +89,9 @@
 
 		    // XXX can make a more clever model...
-		    float xFPA = -1*ref->FP->x;
-		    float yFPA = -1*ref->FP->y;
+		    double xFPA = -1*ref->FP->x;
+		    double yFPA = -1*ref->FP->y;
 
-		    float xChip, yChip;
-		    pmChip *ghostChip = psastroExtractFindChip (&xChip, &yChip, fpa, xFPA, yFPA);
+		    double xChip, yChip;
+		    pmChip *ghostChip = psastroFindChip (&xChip, &yChip, fpa, xFPA, yFPA);
 		    if (!ghostChip) continue;
 		    if (!ghostChip->cells) continue;
