From a2ad3cc4f2dc2053c99bcb4c826f8c81181837d0 Mon Sep 17 00:00:00 2001 From: "P.M. Sutter" Date: Sun, 31 Mar 2013 22:32:36 -0500 Subject: [PATCH] whoops, inserted a bug --- c_tools/stacking/pruneVoids.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c_tools/stacking/pruneVoids.cpp b/c_tools/stacking/pruneVoids.cpp index 859b481..d11d3b4 100644 --- a/c_tools/stacking/pruneVoids.cpp +++ b/c_tools/stacking/pruneVoids.cpp @@ -125,7 +125,7 @@ int main(int argc, char **argv) { } int i, p, p2, numPartTot, numZonesTot, dummy, iVoid, iZ; - int numVoids, mockIndex, numKept; + int numVoids, mockIndex; double tolerance; FILE *fp, *fpZobov, *fpCenters, *fpCentersNoCut, *fpBarycenter, *fpDistances, *fpShapes, *fpSkyPositions; @@ -714,7 +714,7 @@ int main(int argc, char **argv) { name = "central"; openFiles(outputDir, sampleName, name, - mockIndex, numKept, + mockIndex, voids.size(), &fpZobov, &fpCenters, &fpCentersNoCut, &fpBarycenter, &fpDistances, &fpShapes, &fpSkyPositions); @@ -731,7 +731,7 @@ int main(int argc, char **argv) { name = "all"; openFiles(outputDir, sampleName, name, - mockIndex, numKept, + mockIndex, voids.size(), &fpZobov, &fpCenters, &fpCentersNoCut, &fpBarycenter, &fpDistances, &fpShapes, &fpSkyPositions); for (iVoid = 0; iVoid < voids.size(); iVoid++) {