369 |
|
e *= atof(cp); |
370 |
|
} |
371 |
|
if (p != NULL) { /* relative setting */ |
372 |
< |
if (intens(p->v) <= FTINY) { |
372 |
> |
if (bright(p->v) <= FTINY) { |
373 |
|
error(COMMAND, "cannot normalize to zero"); |
374 |
|
return; |
375 |
|
} |
376 |
< |
e *= 0.5 / intens(p->v); |
376 |
> |
e *= 0.5 / bright(p->v); |
377 |
|
} |
378 |
|
if (e <= FTINY || fabs(1.0 - e) <= FTINY) |
379 |
|
return; |
450 |
|
} |
451 |
|
dstrsrc = d0; |
452 |
|
break; |
453 |
< |
case 't': /* threshold */ |
453 |
> |
case 't': /* tolerance */ |
454 |
|
if (sscanf(s+2, "%lf", &d0) != 1) { |
455 |
< |
sprintf(buf, "direct threshold (%.6g): ", |
455 |
> |
sprintf(buf, "direct tolerance (%.6g): ", |
456 |
|
shadthresh); |
457 |
|
(*dev->comout)(buf); |
458 |
|
(*dev->comin)(buf); |