chore(frontends/lean/builtin_cmds): fix style
This commit is contained in:
parent
39ec756331
commit
8e4fd50913
1 changed files with 6 additions and 3 deletions
|
@ -1337,9 +1337,12 @@ static environment simplify_cmd(parser & p) {
|
||||||
|
|
||||||
blast::scope_debug scope(p.env(), p.ios());
|
blast::scope_debug scope(p.env(), p.ios());
|
||||||
simp_rule_sets srss;
|
simp_rule_sets srss;
|
||||||
if (ns == name("null")) { }
|
if (ns == name("null")) {
|
||||||
else if (ns == name("env")) { srss = get_simp_rule_sets(p.env()); }
|
} else if (ns == name("env")) {
|
||||||
else { srss = get_simp_rule_sets(p.env(), p.ios(), ns); }
|
srss = get_simp_rule_sets(p.env());
|
||||||
|
} else {
|
||||||
|
srss = get_simp_rule_sets(p.env(), p.ios(), ns);
|
||||||
|
}
|
||||||
|
|
||||||
blast::simp::result r = blast::simplify(rel, e, srss);
|
blast::simp::result r = blast::simplify(rel, e, srss);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue