Index: /tags/ipp-20120404/psastro/src/psastroLoadGhosts.c
===================================================================
--- /tags/ipp-20120404/psastro/src/psastroLoadGhosts.c	(revision 33991)
+++ /tags/ipp-20120404/psastro/src/psastroLoadGhosts.c	(revision 33992)
@@ -164,6 +164,8 @@
 		    pmChip *ghostChip = psastroFindChip (&ghost->chip->x, &ghost->chip->y, fpa, -ghost->srcFP->x, -ghost->srcFP->y);
 		    // fprintf (stderr, "raw chip position: %f, %f ", ghost->chip->x, ghost->chip->y);
-/* 		    float ref_chip_x = ghost->chip->x; */
-/* 		    float ref_chip_y = ghost->chip->y; */
+#if PS_TRACE_ON
+		    float ref_chip_x = ghost->chip->x;
+		    float ref_chip_y = ghost->chip->y;
+#endif
 		    ghostChip = psastroFindChip (&ghost->chip->x, &ghost->chip->y, fpa, ghost->FP->x, ghost->FP->y);
 		    // fprintf (stderr, "-> model chip position: %f, %f\n", ghost->chip->x, ghost->chip->y);
