valgrind is now happy on tbb

This commit is contained in:
tTh
2018-11-16 13:18:30 +01:00
parent d6fde6312f
commit beb6075239
3 changed files with 10 additions and 3 deletions

View File

@@ -227,10 +227,12 @@ fprintf(stderr, "*** %s : array at %p, sz %d\n", __func__, ar, bbl->size);
#endif
for (idx=0; idx<bbl->fidx; idx++) {
fprintf(fp, "%11.6f %11.6f %11.6f",
fprintf(fp, "%12.6f %12.6f %12.6f",
ar[idx].p.x, ar[idx].p.y, ar[idx].p.z);
if (flags & 0x01) fprintf(fp, " %11.6f", ar[idx].d); if (flags & 0x02) fprintf(fp, " %6d", ar[idx].gray);
if (flags & 0x01) fprintf(fp, " %12.6f", ar[idx].d);
if (flags & 0x02) fprintf(fp, " %6d", ar[idx].gray);
fputs("\n", fp);
}
fflush(fp);