diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-07 18:54:49 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-07 18:54:49 +0100 |
commit | e93b2e2aa68bf18ac96243840fb0baf4f30d90ca (patch) | |
tree | cd5c71829ffac027de87f278d4d066023b370d29 /src | |
parent | typo (diff) | |
download | blueshift-e93b2e2aa68bf18ac96243840fb0baf4f30d90ca.tar.gz blueshift-e93b2e2aa68bf18ac96243840fb0baf4f30d90ca.tar.bz2 blueshift-e93b2e2aa68bf18ac96243840fb0baf4f30d90ca.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/curve.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/curve.py b/src/curve.py index ee2c7d5..9e1eefe 100644 --- a/src/curve.py +++ b/src/curve.py @@ -399,7 +399,7 @@ def cie_limits(r_min, r_max, g_min = ..., g_max = ..., b_min = ..., b_max = ...) # Check if we can reduce the overhead, we can if the adjustments are identical same = (r_min == g_min == b_min) and (r_max == g_max == b_max) # Check we need to do any adjustment - if (not same) or (not r_min == 0) or (not r_max == 0): + if (not same) or (not r_min == 0) or (not r_max == 1): if same: # Manipulate all curves in one step if their adjustments are identical for i in range(i_size): |