From 4cb45432f9330dcc697b9144e76bcaf8414f0cc5 Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 4 Aug 2023 21:52:55 -0700 Subject: [PATCH] Fixed UserFunction operator --- src/parser/expression/operator.rs | 2 ++ 1 file changed, 2 insertions(+) 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 }