diff options
Diffstat (limited to 'profile/applycal.c')
-rwxr-xr-x[-rw-r--r--] | profile/applycal.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/profile/applycal.c b/profile/applycal.c index ff9a76d..991ce72 100644..100755 --- a/profile/applycal.c +++ b/profile/applycal.c @@ -524,10 +524,7 @@ main(int argc, char *argv[]) { double val; val = i/(ro->size-1.0); //printf("~1 Input val %f", val); - if (inp) - val = cal->interp_ch(cal, j, val); /* Input calibration */ - else - val = cal->inv_interp_ch(cal, j, val); /* Inverse output calibration */ + val = cal->inv_interp_ch(cal, j, val); /* Inverse output calibration */ //printf(", after inv curve %f", val); wo->lookup_fwd(wo, &val, &val); /* Original curve */ //printf(", after orig %f\n", val); |