mirror of https://github.com/rm-dr/daisy
Strict printing for powers
parent
82b577568c
commit
dd9633d822
|
@ -108,8 +108,8 @@ impl Operator {
|
|||
Operator::Power => {
|
||||
return format!(
|
||||
"{}^{}",
|
||||
self.add_parens_to_arg(&args[0]),
|
||||
self.add_parens_to_arg(&args[1])
|
||||
self.add_parens_to_arg_strict(&args[0]),
|
||||
self.add_parens_to_arg_strict(&args[1])
|
||||
);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue