summaryrefslogtreecommitdiff
path: root/profile/applycal.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:54 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:54 +0100
commit1b1126bd023a2bb92699773a1867358067dabcb8 (patch)
tree6fd56d034e5a154c7992e7855d61691cecd043c4 /profile/applycal.c
parentcb5c7cec4aa1946f75dc3d408eb7f1051f3fb3d4 (diff)
parentf6b8e0eae4374f339487a33e3e4fe5462d5816e1 (diff)
Update upstream source from tag 'upstream/2.0.0'
Update to upstream version '2.0.0' with Debian dir e866e6e75661017faaa5331becda76021407390b
Diffstat (limited to 'profile/applycal.c')
-rwxr-xr-x[-rw-r--r--]profile/applycal.c5
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);