Index: branches/eam_branches/relastro.20100326/src/UpdateSimple.c
===================================================================
--- branches/eam_branches/relastro.20100326/src/UpdateSimple.c	(revision 27487)
+++ branches/eam_branches/relastro.20100326/src/UpdateSimple.c	(revision 27497)
@@ -18,7 +18,9 @@
     /* convert measure coordinates to raw entries */
     raw = getImageRaw (catalog, Ncatalog, i, &Nstars, MODE_SIMPLE);
+    if (!raw) continue;
 
     /* convert average coordinates to ref entries */
     ref = getImageRef (catalog, Ncatalog, i, &Nstars, MODE_SIMPLE);
+    if (!ref) continue;
 
     FitSimple (raw, ref, Nstars, &image[i].coords);
