https://svn.lrde.epita.fr/svn/oln/trunk/milena
Index: ChangeLog
from Thierry Geraud <thierry.geraud(a)lrde.epita.fr>
Fix modulus definition involving builtin.
* mln/value/builtin/ops.hh
(mln_internal_def_bi_dvmd_obj_): Fix.
ops.hh | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: mln/value/builtin/ops.hh
--- mln/value/builtin/ops.hh (revision 1516)
+++ mln/value/builtin/ops.hh (working copy)
@@ -239,7 +239,7 @@
mln_trait_op_##Name (value::scalar_< Builtin >, O) \
operator Symb (const Builtin & lhs, const Object<O>& rhs) \
{ \
- return value::scalar(lhs) / exact(rhs); \
+ return value::scalar(lhs) Symb exact(rhs); \
} \
\
struct m_a_c_r_o__e_n_d__w_i_t_h__s_e_m_i_c_o_l_u_m_n