Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes of function mix. #2552

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Bug fixes of function mix. #2552

wants to merge 1 commit into from

Conversation

sulfurandcu
Copy link

Passing a null value to require-color() if length of color1/2 equals to 2.

Passing a null value to require-color()
@@ -154,12 +154,16 @@ mix(color1, color2, weight = 50%)
error("Weight must be between 0% and 100%")

if length(color1) == 2
{
Copy link
Member

@iChenLei iChenLei Aug 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test case is required ! Thanks

@iChenLei iChenLei self-requested a review February 18, 2022 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants