[PPL-devel] [GIT] ppl/ppl(floating_point): Always use marked_empty() instead of is_empty() after
Fabio Bossi
bossi at cs.unipr.it
Wed Sep 29 19:10:47 CEST 2010
Module: ppl/ppl
Branch: floating_point
Commit: 8d8b45e65ab5caadd86a5fd193318de4c84094e7
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=8d8b45e65ab5caadd86a5fd193318de4c84094e7
Author: Fabio Bossi <bossi at cs.unipr.it>
Date: Wed Sep 29 19:10:03 2010 +0200
Always use marked_empty() instead of is_empty() after
a closure.
---
src/BD_Shape.templates.hh | 2 +-
src/Octagonal_Shape.templates.hh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/BD_Shape.templates.hh b/src/BD_Shape.templates.hh
index 112047a..1223515 100644
--- a/src/BD_Shape.templates.hh
+++ b/src/BD_Shape.templates.hh
@@ -4491,7 +4491,7 @@ BD_Shape<T>
// Expose all the interval constraints.
shortest_path_closure_assign();
- if (is_empty()) {
+ if (marked_empty()) {
dest.set_empty();
PPL_ASSERT(OK());
return;
diff --git a/src/Octagonal_Shape.templates.hh b/src/Octagonal_Shape.templates.hh
index b9674f0..4695d59 100644
--- a/src/Octagonal_Shape.templates.hh
+++ b/src/Octagonal_Shape.templates.hh
@@ -7665,7 +7665,7 @@ Octagonal_Shape<T>
strong_closure_assign();
- if (is_empty()) {
+ if (marked_empty()) {
dest.set_empty();
return;
}
More information about the PPL-devel
mailing list