Index: trunk/psLib/test/fits/tst_psFits.c
===================================================================
--- trunk/psLib/test/fits/tst_psFits.c	(revision 6912)
+++ trunk/psLib/test/fits/tst_psFits.c	(revision 7227)
@@ -6,6 +6,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2006-04-20 01:13:11 $
+*  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2006-05-26 03:24:37 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -119,6 +119,6 @@
 
         // set the pixels in the image
-        psBinaryOp(image,image,"=",psScalarAlloc(lcv,PS_TYPE_F32));
-        if (! psFitsWriteImage(fitsFile,header,image,1,extname) ) {
+        psImageInit(image, lcv);
+        if (! psFitsWriteImage(fitsFile,header,image,0,extname) ) {
             psError(PS_ERR_UNKNOWN, false,
                     "Could not write image.");
