From 8498860ba51413efdec5ffdb84ddb8a97c1b3025 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sun, 27 Nov 2016 09:46:48 +0100 Subject: [PATCH] barvinok.cc: drop unused uni_polynom The last use of uni_polynom was removed in 5be5037 (barvinok.cc: lattice_point: remove a special case, Tue Apr 17 12:36:02 2007 +0200). Signed-off-by: Sven Verdoolaege --- barvinok.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/barvinok.cc b/barvinok.cc index f58a35e..7328582 100644 --- a/barvinok.cc +++ b/barvinok.cc @@ -497,16 +497,6 @@ static void barvinok_count_f(Polyhedron *P, Value* result, delete cnt; } -static void uni_polynom(int param, Vector *c, evalue *EP) -{ - unsigned dim = c->Size-2; - value_init(EP->d); - value_set_si(EP->d,0); - EP->x.p = new_enode(polynomial, dim+1, param+1); - for (int j = 0; j <= dim; ++j) - evalue_set(&EP->x.p->arr[j], c->p[j], c->p[dim+1]); -} - typedef evalue * evalue_p; struct enumerator_base { -- 2.11.4.GIT