Strict printing for powers

pull/2/head
Mark 2023-04-07 09:42:43 -07:00
parent 82b577568c
commit dd9633d822
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 6 additions and 6 deletions

View File

@ -108,8 +108,8 @@ impl Operator {
Operator::Power => { Operator::Power => {
return format!( return format!(
"{}^{}", "{}^{}",
self.add_parens_to_arg(&args[0]), self.add_parens_to_arg_strict(&args[0]),
self.add_parens_to_arg(&args[1]) self.add_parens_to_arg_strict(&args[1])
); );
}, },