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

optimization is not idempotent #126

Open
rjpower opened this issue Apr 18, 2014 · 0 comments
Open

optimization is not idempotent #126

rjpower opened this issue Apr 18, 2014 · 0 comments

Comments

@rjpower
Copy link
Contributor

rjpower commented Apr 18, 2014

The following will cause an error:

import spartan as S
S.initialize()

x = ones((100,))
y = log(x) + log(x)
y.optimized().optimized().glom()

The second optimization pass ends up building an incorrect LocalExpr.

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

No branches or pull requests

1 participant