[PPL-devel] [GIT] ppl/ppl(master): Fixed bug recently uncovered in method relation_with ().

Enea Zaffanella enea.zaffanella at unipr.it
Tue Jun 19 09:59:12 CEST 2018


Module: ppl/ppl
Branch: master
Commit: 35fa98086b2d5c0b4711b518a2cf8e4b2c995731
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=35fa98086b2d5c0b4711b518a2cf8e4b2c995731

Author: Enea Zaffanella <enea.zaffanella at unipr.it>
Date:   Tue Jun 19 09:58:47 2018 +0200

Fixed bug recently uncovered in method relation_with().

---

 src/Polyhedron_public.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Polyhedron_public.cc b/src/Polyhedron_public.cc
index 883e958..930fba4 100644
--- a/src/Polyhedron_public.cc
+++ b/src/Polyhedron_public.cc
@@ -259,7 +259,7 @@ PPL::Polyhedron::relation_with(const Generator& g) const {
   }
 
   // The empty polyhedron cannot subsume a generator.
-  if (marked_empty()) {
+  if (is_empty()) {
     return Poly_Gen_Relation::nothing();
   }
 




More information about the PPL-devel mailing list