[GIT] ppl/ppl(master): Fixed operator>>(std::istream&, Interval<Boundary, Info>&).

Module: ppl/ppl Branch: master Commit: 513d2127e55faa6f5e7d29938b7315203a712df2 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=513d2127e55fa...
Author: Roberto Bagnara bagnara@cs.unipr.it Date: Thu Sep 24 16:34:32 2009 +0200
Fixed operator>>(std::istream&, Interval<Boundary, Info>&).
---
src/Interval.templates.hh | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/Interval.templates.hh b/src/Interval.templates.hh index fcfecf6..f9d3f1e 100644 --- a/src/Interval.templates.hh +++ b/src/Interval.templates.hh @@ -234,8 +234,9 @@ operator>>(std::istream& is, Interval<Boundary, Info>& x) { bool upper_boundary_infinity = false; switch (lower_r) { case V_EQ: + case V_GE: break; - case V_LE: + case V_GT: lower_open = true; break; case V_EQ_MINUS_INFINITY: @@ -254,8 +255,9 @@ operator>>(std::istream& is, Interval<Boundary, Info>& x) { } switch (upper_r) { case V_EQ: + case V_LE: break; - case V_GE: + case V_LT: upper_open = true; break; case V_EQ_MINUS_INFINITY:
participants (1)
-
Roberto Bagnara