From 79907416571b86cc8d54d792232fc9f479c045e6 Mon Sep 17 00:00:00 2001 From: skimo Date: Sat, 18 Sep 2004 11:32:02 +0000 Subject: [PATCH] rename and export pip-based enumeration --- barvinok.cc | 6 +++--- barvinok.h | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/barvinok.cc b/barvinok.cc index 5fafe0c..264c690 100644 --- a/barvinok.cc +++ b/barvinok.cc @@ -2749,13 +2749,13 @@ static evalue* enumerate_vd(Polyhedron **PA, } #ifndef HAVE_PIPLIB -static evalue *enumerate_pip(Polyhedron *P, +evalue *barvinok_enumerate_pip(Polyhedron *P, unsigned exist, unsigned nparam, unsigned MaxRays) { return 0; } #else -static evalue *enumerate_pip(Polyhedron *P, +evalue *barvinok_enumerate_pip(Polyhedron *P, unsigned exist, unsigned nparam, unsigned MaxRays) { int nvar = P->Dimension - exist - nparam; @@ -3084,7 +3084,7 @@ next: if (EP) goto out; - EP = enumerate_pip(P, exist, nparam, MaxRays); + EP = barvinok_enumerate_pip(P, exist, nparam, MaxRays); if (EP) goto out; diff --git a/barvinok.h b/barvinok.h index a44eb9b..1404c1c 100644 --- a/barvinok.h +++ b/barvinok.h @@ -15,6 +15,8 @@ Enumeration* barvinok_enumerate(Polyhedron *P, Polyhedron* C, unsigned MaxRays); evalue* barvinok_enumerate_ev(Polyhedron *P, Polyhedron* C, unsigned MaxRays); evalue* barvinok_enumerate_e(Polyhedron *P, unsigned exist, unsigned nparam, unsigned MaxRays); +evalue *barvinok_enumerate_pip(Polyhedron *P, + unsigned exist, unsigned nparam, unsigned MaxRays); /* private function */ evalue* bv_ceil3(Value *coef, int len, Value d, Polyhedron *P); -- 2.11.4.GIT