@@ -4709,8 +4709,8 @@ namespace exprtk
47094709 case e_xnor : return xnor_opr<T>(arg0,arg1);
47104710 case e_root : return root<T> (arg0,arg1);
47114711 case e_roundn : return roundn<T> (arg0,arg1);
4712- case e_equal : return equal<T> (arg0,arg1);
4713- case e_nequal : return nequal<T> (arg0,arg1);
4712+ case e_equal : return equal (arg0,arg1);
4713+ case e_nequal : return nequal (arg0,arg1);
47144714 case e_hypot : return hypot<T> (arg0,arg1);
47154715 case e_shr : return shr<T> (arg0,arg1);
47164716 case e_shl : return shl<T> (arg0,arg1);
@@ -11971,7 +11971,7 @@ namespace exprtk
1197111971 struct equal_op : public opr_base<T>
1197211972 {
1197311973 typedef typename opr_base<T>::Type Type;
11974- static inline T process(Type t1, Type t2) { return ( numeric::equal<T> (t1,t2) ? T(1) : T(0) ); }
11974+ static inline T process(Type t1, Type t2) { return numeric::equal(t1,t2); }
1197511975 static inline T process(const std::string& t1, const std::string& t2) { return ((t1 == t2) ? T(1) : T(0)); }
1197611976 static inline typename expression_node<T>::node_type type() { return expression_node<T>::e_eq; }
1197711977 static inline details::operator_type operation() { return details::e_equal; }
0 commit comments