From fa744ce8bd9e3b27078fb2e9190675b38e06cd2b Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Tue, 9 Oct 2007 19:20:38 +0200 Subject: [PATCH] make counter::add_falling_powers static --- counter.cc | 2 +- counter.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/counter.cc b/counter.cc index 2ef01dc..3ad8463 100644 --- a/counter.cc +++ b/counter.cc @@ -36,7 +36,7 @@ void counter_base::handle(const mat_ZZ& rays, Value *V, const QQ& c, add_lattice_points(sign); } -void counter::add_falling_powers(dpoly& n, Value degree) +static void add_falling_powers(dpoly& n, Value degree) { value_increment(n.coeff->p[0], n.coeff->p[0]); if (n.coeff->Size == 1) diff --git a/counter.h b/counter.h index e05a9b2..fe04530 100644 --- a/counter.h +++ b/counter.h @@ -47,7 +47,6 @@ struct counter : public counter_base { mpq_set_si(count, 0, 0); } - void add_falling_powers(dpoly& n, Value c); virtual void add_lattice_points(int sign); }; -- 2.11.4.GIT