summaryrefslogtreecommitdiff
path: root/xicc/ccttest.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-01 10:32:14 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-01 10:32:14 +0100
commit4097e27114d227692d53c5d28487e12a3833cd24 (patch)
treed5c2a62c4db97de94f92150340612c64d3997669 /xicc/ccttest.c
parentf8a0a4e1c775a90c313cb83201eec4cea4e9a7da (diff)
parent5514d94483c98e3320b202b1bb882023a7d12027 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'xicc/ccttest.c')
-rwxr-xr-x[-rw-r--r--]xicc/ccttest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xicc/ccttest.c b/xicc/ccttest.c
index 1b859b5..f7f4363 100644..100755
--- a/xicc/ccttest.c
+++ b/xicc/ccttest.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <math.h>
+#include "cgats.h"
#include "xspect.h"
#include "numlib.h"
#include "plot.h"
@@ -49,8 +50,8 @@ static int do_spec(char *name, xspect *sp) {
printf("\n");
- /* Compute XYZ of illuminant */
- if (icx_ill_sp2XYZ(xyz, icxOT_CIE_1931_2, NULL, icxIT_custom, 0, sp) != 0)
+ /* Compute normalise XYZ of illuminant */
+ if (icx_ill_sp2XYZ(xyz, icxOT_CIE_1931_2, NULL, icxIT_custom, 0, sp, 0) != 0)
error ("icx_sp_temp2XYZ returned error");
icmXYZ2Yxy(Yxy, xyz);