whoops, inserted a bug

This commit is contained in:
P.M. Sutter 2013-03-31 22:32:36 -05:00
parent 2e832dd415
commit a2ad3cc4f2

View file

@ -125,7 +125,7 @@ int main(int argc, char **argv) {
} }
int i, p, p2, numPartTot, numZonesTot, dummy, iVoid, iZ; int i, p, p2, numPartTot, numZonesTot, dummy, iVoid, iZ;
int numVoids, mockIndex, numKept; int numVoids, mockIndex;
double tolerance; double tolerance;
FILE *fp, *fpZobov, *fpCenters, *fpCentersNoCut, *fpBarycenter, FILE *fp, *fpZobov, *fpCenters, *fpCentersNoCut, *fpBarycenter,
*fpDistances, *fpShapes, *fpSkyPositions; *fpDistances, *fpShapes, *fpSkyPositions;
@ -714,7 +714,7 @@ int main(int argc, char **argv) {
name = "central"; name = "central";
openFiles(outputDir, sampleName, name, openFiles(outputDir, sampleName, name,
mockIndex, numKept, mockIndex, voids.size(),
&fpZobov, &fpCenters, &fpCentersNoCut, &fpBarycenter, &fpZobov, &fpCenters, &fpCentersNoCut, &fpBarycenter,
&fpDistances, &fpShapes, &fpSkyPositions); &fpDistances, &fpShapes, &fpSkyPositions);
@ -731,7 +731,7 @@ int main(int argc, char **argv) {
name = "all"; name = "all";
openFiles(outputDir, sampleName, name, openFiles(outputDir, sampleName, name,
mockIndex, numKept, mockIndex, voids.size(),
&fpZobov, &fpCenters, &fpCentersNoCut, &fpBarycenter, &fpZobov, &fpCenters, &fpCentersNoCut, &fpBarycenter,
&fpDistances, &fpShapes, &fpSkyPositions); &fpDistances, &fpShapes, &fpSkyPositions);
for (iVoid = 0; iVoid < voids.size(); iVoid++) { for (iVoid = 0; iVoid < voids.size(); iVoid++) {