Index: trunk/psModules/src/detrend/pmFringeStats.c
===================================================================
--- trunk/psModules/src/detrend/pmFringeStats.c	(revision 9615)
+++ trunk/psModules/src/detrend/pmFringeStats.c	(revision 9730)
@@ -133,5 +133,4 @@
 
     psArray *table = psArrayAlloc(numRows); // The table
-    table->n = numRows;
     // Translate the vectors into the required format for psFitsWriteTable()
     for (long i = 0; i < numRows; i++) {
@@ -205,5 +204,4 @@
     psVector *y = psVectorAlloc(numRows, PS_TYPE_F32); // y position
     psVector *mask = psVectorAlloc(numRows, PS_TYPE_U8); // mask
-    x->n = y->n = mask->n = numRows;
     regions->x = x;
     regions->y = y;
@@ -253,5 +251,4 @@
     stats->f = psVectorAlloc(numRegions, PS_TYPE_F32);
     stats->df = psVectorAlloc(numRegions, PS_TYPE_F32);
-    stats->f->n = stats->df->n = numRegions;
 
     return stats;
@@ -365,5 +362,4 @@
     // Vectors: f, df
     psArray *table = psArrayAlloc(numRows); // The table
-    table->n = numRows;
     // Translate the vectors into the required format for psFitsWriteTable()
     for (long i = 0; i < numRows; i++) {
@@ -527,6 +523,4 @@
     scale->coeff = psVectorAlloc(nFringeFrames + 1, PS_TYPE_F32);
     scale->coeffErr = psVectorAlloc(nFringeFrames + 1, PS_TYPE_F32);
-    scale->coeff->n = nFringeFrames + 1;
-    scale->coeff->n = nFringeFrames + 1;
 
     return scale;
@@ -551,5 +545,4 @@
     psImage *A = psImageAlloc(numCoeffs, numCoeffs, PS_TYPE_F64); // The least-squares matrix
     psVector *B = psVectorAlloc(numCoeffs, PS_TYPE_F64); // The least-squares vector
-    B->n = numCoeffs;
 
     // Generate the least-squares matrix and vector
@@ -718,5 +711,4 @@
     if (!regions->mask) {
         regions->mask = psVectorAlloc(numRegions, PS_TYPE_U8);
-        regions->mask->n = numRegions;
         psVectorInit(regions->mask, 0);
     }
@@ -725,5 +717,4 @@
     unsigned int numClipped = 0;        // Total number clipped
     psVector *diff = psVectorAlloc(numRegions, PS_TYPE_F32); // The differences between obs. and pred.
-    diff->n = numRegions;
 
     pmFringeScale *scale = pmFringeScaleAlloc(fringes->n); // The fringe scales
