Index: trunk/psModules/src/imcombine/pmImageCombine.c
===================================================================
--- trunk/psModules/src/imcombine/pmImageCombine.c	(revision 9621)
+++ trunk/psModules/src/imcombine/pmImageCombine.c	(revision 9730)
@@ -8,6 +8,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-09-15 09:49:01 $
+ *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-10-24 22:55:05 $
  *
  *  XXX: pmRejectPixels() has a known bug with the pmImageTransform() call.
@@ -122,5 +122,4 @@
     if (*questionablePixels == NULL) {
         *questionablePixels = psArrayAlloc(numImages);
-        (*questionablePixels)->n = numImages;
     } else if ((*questionablePixels)->n != numImages) {
         *questionablePixels = psArrayRealloc(*questionablePixels, numImages);
@@ -137,5 +136,4 @@
     psVector *qpPtr = psVectorAlloc(numImages, PS_TYPE_S32);
     psVectorInit(qpPtr, 0);
-    qpPtr->n = numImages;
     //
     // Allocate the necessary psVectors for the call to psVectorStats().
@@ -144,10 +142,8 @@
     //
     psVector *pixelData = psVectorAlloc(numImages, PS_TYPE_F32);
-    pixelData->n = pixelData->nalloc;
     psVector *pixelMask = NULL;
     if (masks != NULL) {
         pixelMask = psVectorAlloc(numImages, PS_TYPE_U8);
         psVectorInit(pixelMask, 0);
-        pixelMask->n = numImages;
     }
 
@@ -156,5 +152,4 @@
         pixelErrors = psVectorAlloc(numImages, PS_TYPE_F32);
         psVectorInit(pixelErrors, 1.0);
-        pixelErrors->n = numImages;
     }
 
@@ -320,6 +315,4 @@
     psVector *pixels = psVectorAlloc(8, PS_TYPE_F32); // Array of pixels
     psVector *mask = psVectorAlloc(8, PS_TYPE_U8); // Corresponding mask
-    pixels->n = 8;
-    mask->n = 8;
 
     // Get limits
@@ -538,5 +531,4 @@
     //
     psArray *rejects = psArrayAlloc(numImages);
-    rejects->n = numImages;
     for (psS32 im = 0 ; im < numImages ; im++) {
         rejects->data[im] = (psPtr *) psPixelsAlloc(PS_REJECT_PIXEL_INITIAL_PIXEL_LIST_LENGTH);
@@ -550,5 +542,4 @@
     psVector *rPtr = psVectorAlloc(numImages, PS_TYPE_S32);
     psVectorInit(rPtr, 0);
-    rPtr->n = numImages;
 
     psS32 numCols = ((psImage *) images->data[0])->numCols;
Index: trunk/psModules/src/imcombine/pmImageSubtract.c
===================================================================
--- trunk/psModules/src/imcombine/pmImageSubtract.c	(revision 9621)
+++ trunk/psModules/src/imcombine/pmImageSubtract.c	(revision 9730)
@@ -7,6 +7,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-09-15 09:49:01 $
+ *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-10-24 22:55:05 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -122,11 +122,7 @@
     tmp->u = psVectorAlloc(nBF, PS_TYPE_F32);
     tmp->v = psVectorAlloc(nBF, PS_TYPE_F32);
-    tmp->u->n = tmp->u->nalloc;
-    tmp->v->n = tmp->v->nalloc;
     tmp->sigma = NULL;
     tmp->xOrder = psVectorAlloc(nBF, PS_TYPE_F32);
-    tmp->xOrder->n = tmp->xOrder->nalloc;
     tmp->yOrder = psVectorAlloc(nBF, PS_TYPE_F32);
-    tmp->yOrder->n = tmp->yOrder->nalloc;
     tmp->subIndex = 0;
     tmp->preCalc = NULL;
@@ -223,6 +219,4 @@
     tmp->u = psVectorAlloc(nBF, PS_TYPE_F32);
     tmp->v = psVectorAlloc(nBF, PS_TYPE_F32);
-    tmp->u->n = tmp->u->nalloc;
-    tmp->v->n = tmp->v->nalloc;
     tmp->sigma = psVectorAlloc(nBF, PS_TYPE_F32);
     tmp->xOrder = psVectorAlloc(nBF, PS_TYPE_F32);
@@ -232,10 +226,4 @@
     tmp->spatialOrder = spatialOrder;
     tmp->preCalc = psArrayAlloc(nBF);
-    tmp->u->n = tmp->u->nalloc;
-    tmp->v->n = tmp->v->nalloc;
-    tmp->sigma->n = tmp->sigma->nalloc;
-    tmp->xOrder->n = tmp->xOrder->nalloc;
-    tmp->yOrder->n = tmp->yOrder->nalloc;
-    tmp->preCalc->n = tmp->preCalc->nalloc;
 
     //
@@ -367,5 +355,4 @@
     } else {
         stamps = (psArray *) psArrayAlloc(xNum * yNum);
-        stamps->n = stamps->nalloc;
         for (psS32 s = 0 ; s < (xNum * yNum) ; s++) {
             stamps->data[s] = (psPtr *) p_pmStampAlloc(PM_STAMP_REJECTED);
@@ -826,5 +813,4 @@
             if (stampVector == NULL) {
                 stampVector = psVectorAlloc(numSolveParams, PS_TYPE_F64);
-                stampVector->n = stampVector->nalloc;
                 stamp->vector = stampVector;
             } else {
@@ -1045,5 +1031,4 @@
     } else {
         solution = psVectorAlloc(size, PS_TYPE_F64);
-        solution->n = solution->nalloc;
     }
 
@@ -1057,5 +1042,4 @@
     psImage *sumMatrix = psImageAlloc(size, size, PS_TYPE_F64);
     psVector *sumVector = psVectorAlloc(size, PS_TYPE_F64);
-    sumVector->n = sumVector->nalloc;
     psVectorInit(sumVector, 0.0);
     psImageInit(sumMatrix, 0.0);
@@ -1150,5 +1134,4 @@
     } else {
         deviations = psVectorAlloc(stamps->n, PS_TYPE_F32);
-        deviations->n = deviations->nalloc;
         // XXX: Probably not necessary.
         psVectorInit(deviations, 0.0);
Index: trunk/psModules/src/imcombine/pmReadoutCombine.c
===================================================================
--- trunk/psModules/src/imcombine/pmReadoutCombine.c	(revision 9621)
+++ trunk/psModules/src/imcombine/pmReadoutCombine.c	(revision 9730)
@@ -201,9 +201,7 @@
 
     psVector *pixels = psVectorAlloc(inputs->n, PS_TYPE_F32); // Stack of pixels
-    pixels->n = inputs->n;
     psF32 *pixelsData = pixels->data.F32; // Dereference pixels
 
     psVector *mask   = psVectorAlloc(inputs->n, PS_TYPE_U8); // Mask for stack
-    mask->n = inputs->n;
     psU8 *maskData = mask->data.U8;     // Dereference mask
 
@@ -212,5 +210,4 @@
     if (haveWeights) {
         weights = psVectorAlloc(inputs->n, PS_TYPE_F32); // Stack of weights
-        weights->n = inputs->n;
         weightsData = weights->data.F32;
     }
