context.pushCHRConstraintFrame();
ruleset.resolve(context);
in = in.resolve(context);
- context.popCHRConstraintFrame(ruleset.constraints);
+ context.popCHRConstraintFrame(ruleset);
context.popFrame();
context.currentRuleset = null;
@Override
public Expression simplify(SimplificationContext context) {
- ruleset.simplify(context);
- ruleset.compile(context);
+ ruleset.simplifyAndCompileIfNeeded(context);
in = in.simplify(context);
return this;
}