
Module: ppl/ppl Branch: bounded_arithmetic Commit: db7b7ce8a5b4f16b11aa707060ab782eee9587bf URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=db7b7ce8a5b4f...
Author: Alberto Gioia alberto.gioia1@studenti.unipr.it Date: Thu Sep 15 20:58:52 2011 +0200
Corrected Boundary_Type into into xor_assign function.
---
src/Interval.inlines.hh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Interval.inlines.hh b/src/Interval.inlines.hh index e13c73f..1e9d1b6 100644 --- a/src/Interval.inlines.hh +++ b/src/Interval.inlines.hh @@ -1373,7 +1373,7 @@ Interval<To_Boundary, To_Info>::xor_assign(const From1& x, const From2& y) { Boundary_NS::assign(LOWER, to_lower, to_info, LOWER, f_lower(zero), f_info(zero));
- if (Boundary_NS::is_boundary_infinity(LOWER, f_lower(x1), f_info(x1))) + if (Boundary_NS::is_boundary_infinity(UPPER, f_upper(x1), f_info(x1))) Boundary_NS::assign(UPPER, upper(), info(), UPPER, f_upper(max_value), f_info(max_value)); else {