remove redundant code from arith_eval_by_metacall
@@ -301,10 +301,6 @@ pub(super) fn arith_eval_by_metacall(&self, r: RegType) -> Result<Number, Vec<He
let instantiation_err = functor!("instantiation_error", 1, [heap_atom!("(is)/2")]);
let a = self[r].clone();
- if let &Addr::Con(Constant::Number(ref n)) = &a {
- return Ok(n.clone());
- }
-
let mut interms: Vec<Number> = Vec::with_capacity(64);
for heap_val in self.post_order_iter(a) {
