Skip to content

optimization is not idempotent #126

Description

@rjpower

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions