summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-12 08:53:50 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-12 08:53:50 +0100
commit69942bcba0528c326b25cda331f697ebfea22547 (patch)
tree7fb998d1091ccf9464447bd4541a6975b1e9d58f
parent64e234d1828e9718aa6e8d4dce065b80491eb8f4 (diff)
Fix erroneous suffix.
-rw-r--r--src/rgb_xyz.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rgb_xyz.cc b/src/rgb_xyz.cc
index 293ad5e1..50c3bf7e 100644
--- a/src/rgb_xyz.cc
+++ b/src/rgb_xyz.cc
@@ -280,12 +280,12 @@ dcp::rgb_to_xyz (
++clamped;
}
- e.x = max (0.0d, e.x);
- e.y = max (0.0d, e.y);
- e.z = max (0.0d, e.z);
- e.x = min (65535.0d, e.x);
- e.y = min (65535.0d, e.y);
- e.z = min (65535.0d, e.z);
+ e.x = max (0.0, e.x);
+ e.y = max (0.0, e.y);
+ e.z = max (0.0, e.z);
+ e.x = min (65535.0, e.x);
+ e.y = min (65535.0, e.y);
+ e.z = min (65535.0, e.z);
/* Out gamma LUT */
xyz->data(0)[jn] = lut_out[int(rint(e.x))] * 4095;