Skip to content

Commit 21501a8

Browse files
committed
Updated ExprTk
1 parent 82b3f2b commit 21501a8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

exprtk/exprtk.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10983,7 +10983,7 @@ namespace exprtk
1098310983
typedef typename opr_base<T>::RefType RefType;
1098410984
static inline T process(Type t1, Type t2) { return t1 + t2; }
1098510985
static inline T process(Type t1, Type t2, Type t3) { return t1 + t2 + t3; }
10986-
static inline void assign(RefType& t1, Type t2) { t1 += t2; }
10986+
static inline void assign(RefType t1, Type t2) { t1 += t2; }
1098710987
static inline typename expression_node<T>::node_type type() { return expression_node<T>::e_add; }
1098810988
static inline details::operator_type operation() { return details::e_add; }
1098910989
};
@@ -10995,7 +10995,7 @@ namespace exprtk
1099510995
typedef typename opr_base<T>::RefType RefType;
1099610996
static inline T process(Type t1, Type t2) { return t1 * t2; }
1099710997
static inline T process(Type t1, Type t2, Type t3) { return t1 * t2 * t3; }
10998-
static inline void assign(RefType& t1, Type t2) { t1 *= t2; }
10998+
static inline void assign(RefType t1, Type t2) { t1 *= t2; }
1099910999
static inline typename expression_node<T>::node_type type() { return expression_node<T>::e_mul; }
1100011000
static inline details::operator_type operation() { return details::e_mul; }
1100111001
};
@@ -11007,7 +11007,7 @@ namespace exprtk
1100711007
typedef typename opr_base<T>::RefType RefType;
1100811008
static inline T process(Type t1, Type t2) { return t1 - t2; }
1100911009
static inline T process(Type t1, Type t2, Type t3) { return t1 - t2 - t3; }
11010-
static inline void assign(RefType& t1, Type t2) { t1 -= t2; }
11010+
static inline void assign(RefType t1, Type t2) { t1 -= t2; }
1101111011
static inline typename expression_node<T>::node_type type() { return expression_node<T>::e_sub; }
1101211012
static inline details::operator_type operation() { return details::e_sub; }
1101311013
};
@@ -11019,7 +11019,7 @@ namespace exprtk
1101911019
typedef typename opr_base<T>::RefType RefType;
1102011020
static inline T process(Type t1, Type t2) { return t1 / t2; }
1102111021
static inline T process(Type t1, Type t2, Type t3) { return t1 / t2 / t3; }
11022-
static inline void assign(RefType& t1, Type t2) { t1 /= t2; }
11022+
static inline void assign(RefType t1, Type t2) { t1 /= t2; }
1102311023
static inline typename expression_node<T>::node_type type() { return expression_node<T>::e_div; }
1102411024
static inline details::operator_type operation() { return details::e_div; }
1102511025
};
@@ -11030,7 +11030,7 @@ namespace exprtk
1103011030
typedef typename opr_base<T>::Type Type;
1103111031
typedef typename opr_base<T>::RefType RefType;
1103211032
static inline T process(Type t1, Type t2) { return numeric::modulus<T>(t1,t2); }
11033-
static inline void assign(RefType& t1, Type t2) { t1 = numeric::modulus<T>(t1,t2); }
11033+
static inline void assign(RefType t1, Type t2) { t1 = numeric::modulus<T>(t1,t2); }
1103411034
static inline typename expression_node<T>::node_type type() { return expression_node<T>::e_mod; }
1103511035
static inline details::operator_type operation() { return details::e_mod; }
1103611036
};
@@ -11041,7 +11041,7 @@ namespace exprtk
1104111041
typedef typename opr_base<T>::Type Type;
1104211042
typedef typename opr_base<T>::RefType RefType;
1104311043
static inline T process(Type t1, Type t2) { return numeric::pow<T>(t1,t2); }
11044-
static inline void assign(RefType& t1, Type t2) { t1 = numeric::pow<T>(t1,t2); }
11044+
static inline void assign(RefType t1, Type t2) { t1 = numeric::pow<T>(t1,t2); }
1104511045
static inline typename expression_node<T>::node_type type() { return expression_node<T>::e_pow; }
1104611046
static inline details::operator_type operation() { return details::e_pow; }
1104711047
};

0 commit comments

Comments
 (0)