Skip to content

Commit

Permalink
Reference the appropriate index
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Nov 28, 2024
1 parent 6ef31ae commit 407f7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coloraide/interpolate/continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def handle_undefined(self) -> None:
# Two good values, store the last good value and continue
if not a_nan and not b_nan:
if self.premultiplied and i == alpha:
if i == 1:
if x == 1:
self.premultiply(c1)
self.premultiply(c2)
last = b
Expand Down

0 comments on commit 407f7c8

Please sign in to comment.