Skip to content

Defer evaluation of BinaryExpr in Component::add and Component::subtract #609

Description

@cmacmackin

Following the merging of #585, lazy evaluation is used for field operations. This required some changes to the methods used to set Option values in Component and its subclasses, to ensure that these lazy-expressions are evaluated. However, this is performed prematurely for Component::add and Component::subtract. The final addition or subtraction done to the existing Field3D stored in the Options should be added to the BinaryExpr tree prior to evaluation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions