[GIT] ppl/ppl(floating_point): Always use marked_empty() instead of is_empty() after

Module: ppl/ppl Branch: floating_point Commit: 8d8b45e65ab5caadd86a5fd193318de4c84094e7 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=8d8b45e65ab5c...
Author: Fabio Bossi bossi@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; }
participants (1)
-
Fabio Bossi