summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/comprehensive2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/comprehensive b/examples/comprehensive
index ec3f9c9..21efc14 100644
--- a/examples/comprehensive
+++ b/examples/comprehensive
@@ -390,7 +390,7 @@ def periodically(year, month, day, hour, minute, second, weekday, fade):
f()
# Apply colour temperature using raw CIE 1964 10 degree CMF data with interpolation.
- temperature(temperature_, lambda t : divide_by_maximum(cmf_10deg(t)))
+ temperature(temperature_, lambda t : clip_whitepoint(divide_by_maximum(cmf_10deg(t))))
# Apply calibration used when started.
c = current_calibration[m % len(current_calibration)]