Module: ppl/ppl Branch: master Commit: 09bd1e66fee53f1373417e9aa067d7c69e723cac URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=09bd1e66fee53... Author: Abramo Bagnara <abramo.bagnara@gmail.com> Date: Thu May 14 15:33:30 2009 +0200 Fixed typo. --- src/Boundary.defs.hh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Boundary.defs.hh b/src/Boundary.defs.hh index 6e32424..6557099 100644 --- a/src/Boundary.defs.hh +++ b/src/Boundary.defs.hh @@ -733,7 +733,7 @@ inline Result umod_2exp_assign(Boundary_Type to_type, To& to, To_Info& to_info, Boundary_Type type, const T& x, const Info& info, unsigned int exp) { - assert(to_type != type); + assert(to_type == type); bool shrink; if (is_boundary_infinity(type, x, info)) { shrink = boundary_infinity_is_open(type, info); @@ -751,7 +751,7 @@ inline Result smod_2exp_assign(Boundary_Type to_type, To& to, To_Info& to_info, Boundary_Type type, const T& x, const Info& info, unsigned int exp) { - assert(to_type != type); + assert(to_type == type); bool shrink; if (is_boundary_infinity(type, x, info)) { shrink = boundary_infinity_is_open(type, info);