Reverted change to voztie

This commit is contained in:
Guilhem Lavaux 2012-01-26 13:18:26 -06:00
parent b78e0e4ea0
commit b9973cca92

View file

@ -92,12 +92,12 @@ int main(int argc, char *argv[]) {
fread(orig,nvp,sizeof(int),part); fread(orig,nvp,sizeof(int),part);
for (p=0;p<nvp;p++) { for (p=0;p<nvp;p++) {
fread(&volstemp,1,sizeof(float),part); fread(&volstemp,1,sizeof(float),part);
// if (vols[orig[p]] > -1.) if (vols[orig[p]] > -1.)
// if (fabs(vols[orig[p]]-volstemp)/volstemp > 1.5e-3) { if (fabs(vols[orig[p]]-volstemp)/volstemp > 1.5e-3) {
// printf("Inconsistent volumes for p. %d: (%10g,%10g)!\n", printf("Inconsistent volumes for p. %d: (%10g,%10g)!\n",
// orig[p],vols[orig[p]],volstemp); orig[p],vols[orig[p]],volstemp);
// exit(0); exit(0);
// } }
vols[orig[p]] = volstemp; vols[orig[p]] = volstemp;
} }