diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-03 20:38:41 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-03 20:38:41 +0100 |
commit | ba627dd9ecb578e9852c7b9cce67ec63199d1acf (patch) | |
tree | 27c4258311ca8c8ed7ff67a8a0bc7280e8fcae79 /profile/applycal.c | |
parent | 69aec3b712232e93600ecd741269fed1f90b412a (diff) | |
parent | 3abb40d43649adb3807180692d8579c405524675 (diff) |
Merge branch 'release/2.0.0+repack-1'2.0.0+repack-1
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); |