Skip to content

Time level rule assigned build status #279

@wandadars

Description

@wandadars

I don't know if it's the desired behavior, but if I have a rule like:

$rule pointwise(MyVar{n,it}<-Var1{n},Var2{n}),conststraint(pos) {

}

Loci wants to treat this as a build rule, so you have to add UNIVERSE{n,it} as a constraint to avoid issues. I see in rule.cc on line 1008 there's a section that checks if the source time is before the target time, the rule is assigned the BUILD attribute.

Would something like this prevent that? Or break everything?

if(target_asgn) {
        rule_class = BUILD ;
}else {
        rule_class = TIME_SPECIFIC ;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions