Revert "Add more mask"

This reverts commit 9274da1587.
This commit is contained in:
Guilhem Lavaux 2012-01-15 16:40:30 -05:00
parent ed7b2c3332
commit 863ad3be41
5 changed files with 4 additions and 79 deletions

View file

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