Index: trunk/psLib/src/fits/psFitsImage.c
===================================================================
--- trunk/psLib/src/fits/psFitsImage.c	(revision 16910)
+++ trunk/psLib/src/fits/psFitsImage.c	(revision 16934)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2008-02-27 00:49:49 $
+ *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2008-03-11 19:57:41 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -661,15 +661,4 @@
     fits_get_img_param(fits->fd, 3, &fileBitpix, &naxis, nAxes, &status);
 
-    //check to see if the HDU has the same datatype
-    if (bitPix != fileBitpix) {
-        char* fitsTypeStr;
-        char* imageTypeStr;
-        PS_TYPE_NAME(fitsTypeStr, fileBitpix);
-        PS_TYPE_NAME(imageTypeStr, input->type.type);
-        psError(PS_ERR_IO, true, _("Can not update a %s image given a %s image."), fitsTypeStr, imageTypeStr);
-        psFree(diskImage);
-        return false;
-    }
-
     //check if the HDU has the z-plane requested
     if (z >= nAxes[2]) {
