Commit df37cb64 authored by johannes hanika's avatar johannes hanika Committed by Tobias Ellinghaus

exposure: support >10ev corrections

(cherry picked from commit f44eb93f)
parent 14fce3e6
......@@ -47,7 +47,7 @@
#include "iop/iop_api.h"
#define exposure2white(x) exp2f(-(x))
#define white2exposure(x) -dt_log2f(fmaxf(0.001, x))
#define white2exposure(x) -dt_log2f(fmaxf(1e-20f, x))
DT_MODULE_INTROSPECTION(5, dt_iop_exposure_params_t)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment