Index: /trunk/Ohana/src/uniphot/src/cam_correction.c
===================================================================
--- /trunk/Ohana/src/uniphot/src/cam_correction.c	(revision 39987)
+++ /trunk/Ohana/src/uniphot/src/cam_correction.c	(revision 39988)
@@ -70,10 +70,10 @@
     if (!gfits_scan (&theader, "DIR",     "%d", 1, &dir))     return FALSE;
 
-    // XXX NOTE: astroflat.20150209.fits has ix and iy backwards in header
-    // if (!gfits_scan (&theader, "X_CHIP",  "%d", 1, &ix))      return FALSE;
-    // if (!gfits_scan (&theader, "Y_CHIP",  "%d", 1, &iy))      return FALSE;
+    if (!gfits_scan (&theader, "X_CHIP",  "%d", 1, &ix))      return FALSE;
+    if (!gfits_scan (&theader, "Y_CHIP",  "%d", 1, &iy))      return FALSE;
 
-    if (!gfits_scan (&theader, "X_CHIP",  "%d", 1, &iy))      return FALSE;
-    if (!gfits_scan (&theader, "Y_CHIP",  "%d", 1, &ix))      return FALSE;
+    // XXX NOTE: astroflat.20150209.fits had ix and iy backwards in header
+    // if (!gfits_scan (&theader, "X_CHIP",  "%d", 1, &iy))      return FALSE;
+    // if (!gfits_scan (&theader, "Y_CHIP",  "%d", 1, &ix))      return FALSE;
 
     Matrix *matrix = NULL;
