Skip to content

Color Error when the inputs are partly int #1310

Open
@ZacZhangzhuo

Description

@ZacZhangzhuo

Describe the bug
As titled.

To Reproduce

from compas.colors import Color

color = Color(0.0,0.0,0)

print(Color.coerce(color))
 File "\compas\src\compas\colors\color.py", line 585, in coerce
    raise ColorError
 compas.colors.color.ColorError

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions