Index: /tags/ipp-ps1-20210510/psastro/src/psastroLoadGhosts.c
===================================================================
--- /tags/ipp-ps1-20210510/psastro/src/psastroLoadGhosts.c	(revision 41640)
+++ /tags/ipp-ps1-20210510/psastro/src/psastroLoadGhosts.c	(revision 41641)
@@ -120,5 +120,5 @@
 
     //We need to check whether we are dealing with an old style ghost_model, or a new style model. Check if the mirror_rad polynomial exists
-    float mirCheck = 0;
+    int mirCheck = 0;
     md = psMetadataLookupMetadata (&status, ghostModel, "GHOST.MIRROR.RAD"); 
     if (!md) { psLogMsg ("psastro", PS_LOG_INFO, "No ghost mirror_rad polynomial found. Assuming old-style ghost masking"); } 
@@ -210,5 +210,5 @@
      	            double theta0 = atan2(cal->FP->x,cal->FP->y);
 
-                    if(mirCheck) {
+                    if((mirCheck) & (!cenChip)) {
                          //TdB: first mirror the reference star positions (around the 0,0 pixel) using the radial offset coefficients and the ghost/star angle
 		        double ghost_offset_rad = psPolynomial1DEval (mirrorRad, rSrc);
