Fixed function evaluator

This commit is contained in:
2023-09-04 13:49:20 -07:00
parent e1ba2a9c1f
commit 682205f5e1
2 changed files with 33 additions and 34 deletions

View File

@ -63,7 +63,7 @@ pub fn evaluate(
context.get_variable(&s)
},
Expression::Operator(_, Operator::Function(_), _) => { Some(eval_function(g)?) },
Expression::Operator(_, Operator::Function(_), _) => { eval_function(g)? },
Expression::Operator(_, _, _) => { eval_operator(context, g)? },
};