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

Deferred Expression as initial value for Variable fails #59

Open
a5kin opened this issue May 4, 2019 · 0 comments
Open

Deferred Expression as initial value for Variable fails #59

a5kin opened this issue May 4, 2019 · 0 comments
Assignees
Labels

Comments

@a5kin
Copy link
Owner

@a5kin a5kin commented May 4, 2019

When some DeferredExpression is given as initial value to Variable, it fails:

hue_f = core.FloatVariable(hue * 6)

However, the following workaround works as expected:

hue_f = core.FloatVariable()
hue_f += hue * 6
@a5kin a5kin added the bug label May 4, 2019
@a5kin a5kin self-assigned this May 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant