Index: /trunk/psModules/src/detrend/pmSubtractSky.c
===================================================================
--- /trunk/psModules/src/detrend/pmSubtractSky.c	(revision 7768)
+++ /trunk/psModules/src/detrend/pmSubtractSky.c	(revision 7769)
@@ -6,6 +6,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-06-21 03:21:16 $
+ *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-06-30 23:59:49 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -347,6 +347,6 @@
     // Initialize A matrix and B vector.
     //
-    PS_IMAGE_SET_F64(A, 0.0);
-    PS_VECTOR_SET_F64(B, 0.0);
+    psImageInit(A, 0.0);
+    psVectorInit(B, 0.0);
 
     //
@@ -577,5 +577,5 @@
                                            binnedImage->numRows,
                                            PS_TYPE_U8);
-            PS_IMAGE_SET_U8(binnedMaskImage, 0);
+            psImageInit(binnedMaskImage, 0);
         }
     } else {
@@ -588,5 +588,5 @@
                                        binnedImage->numRows,
                                        PS_TYPE_U8);
-        PS_IMAGE_SET_U8(binnedMaskImage, 0);
+        psImageInit(binnedMaskImage, 0);
     }
     psTrace(".psModule.pmSubtractSky", 4,
Index: /trunk/psModules/src/imcombine/pmImageCombine.c
===================================================================
--- /trunk/psModules/src/imcombine/pmImageCombine.c	(revision 7768)
+++ /trunk/psModules/src/imcombine/pmImageCombine.c	(revision 7769)
@@ -8,6 +8,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-03-04 01:01:33 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-06-30 23:59:49 $
  *
  *  XXX: pmRejectPixels() has a known bug with the pmImageTransform() call.
@@ -103,5 +103,5 @@
         combine = psImageAlloc(numCols, numRows, PS_TYPE_F32);
         if (pixels != NULL) {
-            PS_IMAGE_SET_F32(combine, 0.0);
+            psImageInit(combine, 0.0);
         }
     }
@@ -127,5 +127,5 @@
     //
     psVector *qpPtr = psVectorAlloc(numImages, PS_TYPE_S32);
-    PS_VECTOR_SET_S32(qpPtr, 0);
+    psVectorInit(qpPtr, 0);
     qpPtr->n = numImages;
     //
@@ -139,5 +139,5 @@
     if (masks != NULL) {
         pixelMask = psVectorAlloc(numImages, PS_TYPE_U8);
-        PS_VECTOR_SET_U8(pixelMask, 0);
+        psVectorInit(pixelMask, 0);
         pixelMask->n = numImages;
     }
@@ -146,5 +146,5 @@
     if (errors != NULL) {
         pixelErrors = psVectorAlloc(numImages, PS_TYPE_F32);
-        PS_VECTOR_SET_F32(pixelErrors, 1.0);
+        psVectorInit(pixelErrors, 1.0);
         pixelErrors->n = numImages;
     }
@@ -157,5 +157,5 @@
         for (psS32 p = 0 ; p < pixels->n ; p++) {
             // Must initialize the mask to 0 for every pixel.
-            PS_VECTOR_SET_U8(pixelMask, 0);
+            psVectorInit(pixelMask, 0);
             psS32 col = (pixels->data[p]).x;
             psS32 row = (pixels->data[p]).y;
@@ -553,5 +553,5 @@
     //
     psVector *rPtr = psVectorAlloc(numImages, PS_TYPE_S32);
-    PS_VECTOR_SET_S32(rPtr, 0);
+    psVectorInit(rPtr, 0);
     rPtr->n = numImages;
 
Index: /trunk/psModules/src/imcombine/pmImageSubtract.c
===================================================================
--- /trunk/psModules/src/imcombine/pmImageSubtract.c	(revision 7768)
+++ /trunk/psModules/src/imcombine/pmImageSubtract.c	(revision 7769)
@@ -7,6 +7,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-06-21 03:21:16 $
+ *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-06-30 23:59:49 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -253,5 +253,5 @@
 
                     psImage *currPreCalc = psImageAlloc(1 + (2 * size), 1 + (2 * size), PS_TYPE_F32);
-                    PS_IMAGE_SET_F32(currPreCalc, 0.0);
+                    psImageInit(currPreCalc, 0.0);
                     psBool setPreCalc = true;
                     //
@@ -818,5 +818,5 @@
                 PS_ASSERT_IMAGE_SIZE(stampMatrix, numSolveParams, numSolveParams, false);
             }
-            PS_IMAGE_SET_F64(stampMatrix, 0.0);
+            psImageInit(stampMatrix, 0.0);
 
             if (stampVector == NULL) {
@@ -828,5 +828,5 @@
                 PS_ASSERT_VECTOR_SIZE(stampVector, numSolveParams, false);
             }
-            PS_VECTOR_SET_F64(stampVector, 0.0);
+            psVectorInit(stampVector, 0.0);
             psTrace("pmSubtractionCalculateEquation", 6, "subCalcEqn(): stamp %d: allocate matrix and vector.\n", s);
 
@@ -1054,6 +1054,6 @@
     psVector *sumVector = psVectorAlloc(size, PS_TYPE_F64);
     sumVector->n = sumVector->nalloc;
-    PS_VECTOR_SET_F64(sumVector, 0.0);
-    PS_IMAGE_SET_F64(sumMatrix, 0.0);
+    psVectorInit(sumVector, 0.0);
+    psImageInit(sumMatrix, 0.0);
 
     //
@@ -1148,5 +1148,5 @@
         deviations->n = deviations->nalloc;
         // XXX: Probably not necessary.
-        PS_VECTOR_SET_F32(deviations, 0.0);
+        psVectorInit(deviations, 0.0);
     }
     PS_ASSERT_IMAGE_NON_NULL(refImage, NULL);
@@ -1359,5 +1359,5 @@
         out = psImageAlloc(1+2*kernelSize, 1+2*kernelSize, PS_TYPE_F32);
     }
-    PS_IMAGE_SET_F32(out, 0.0);
+    psImageInit(out, 0.0);
 
     //
