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:00 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:00 +0100
commitf6b8e0eae4374f339487a33e3e4fe5462d5816e1 (patch)
tree5f5f764fd6cda404b2ad6e85762c03fce3a335db /profile/applycal.c
parent615ab5513e79c4abc5bbe5c993587785b6a1738b (diff)
New upstream version 2.0.0upstream/2.0.0
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);