From: fred Date: Sat, 14 Dec 1996 13:26:59 +0000 (+0000) Subject: lilypond-0.0.17 X-Git-Tag: release/1.5.59~6584 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2222368f461541d1d25b73413f88434e26ba6296;p=lilypond.git lilypond-0.0.17 --- diff --git a/src/request.cc b/src/request.cc index 6f3778a66d..7821ba240c 100644 --- a/src/request.cc +++ b/src/request.cc @@ -1,4 +1,5 @@ #include "request.hh" +#include "misc.hh" #include "debug.hh" #define VIRTUALCONS(T,R) R *T::clone() const { return new T(*this); } struct T @@ -69,18 +70,6 @@ Rest_req::print() const Rhythmic_req::print(); } -Real -wholes(int dur, int dots) -{ - Real f = 1.0/Real(dur); - Real delta = f; - - while (dots--) { - delta /= 2.0; - f += delta; - } - return f; -} Real Rhythmic_req::duration() const {