diff --git a/src/parser/expression/operator.rs b/src/parser/expression/operator.rs index 86b4e17..fe1020c 100644 --- a/src/parser/expression/operator.rs +++ b/src/parser/expression/operator.rs @@ -102,6 +102,7 @@ impl Operator { | Operator::Factorial | Operator::Sqrt | Operator::Function(_) + | Operator::UserFunction(_) => false, _ => true } @@ -113,6 +114,7 @@ impl Operator { Operator::Negative | Operator::Sqrt | Operator::Function(_) + | Operator::UserFunction(_) => false, _ => true }