Wrong revert

Revert "Revert "Add more mask""

This reverts commit 863ad3be41.
This commit is contained in:
Guilhem Lavaux 2012-01-15 16:41:12 -05:00
parent 863ad3be41
commit 84b451d3ad
5 changed files with 79 additions and 4 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;
}