[PPL-devel] [GIT] ppl/ppl(master): Fixed operator>>(std::istream&, Interval<Boundary, Info>&).
Roberto Bagnara
bagnara at cs.unipr.it
Thu Sep 24 16:35:14 CEST 2009
Module: ppl/ppl
Branch: master
Commit: 513d2127e55faa6f5e7d29938b7315203a712df2
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=513d2127e55faa6f5e7d29938b7315203a712df2
Author: Roberto Bagnara <bagnara at 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:
More information about the PPL-devel
mailing list