Skip to content

Commit 1711be3

Browse files
committed
fixed condition for real
1 parent 8a48fb5 commit 1711be3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/meta_schedule/space_generator/post_order_apply.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ class PostOrderApplyNode : public SpaceGeneratorNode {
145145
<< ann.value();
146146
}
147147

148-
if ((!sch_rule.defined() && !has_schedule_rule) ||
148+
if ((has_schedule_rule && sch_rule.defined()) ||
149+
(!has_schedule_rule && !sch_rule.defined()) ||
149150
(ann.defined() && ann.value() == "None")) {
150151
stack.emplace_back(sch, blocks);
151152
continue;

0 commit comments

Comments
 (0)