X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmisc.cc;h=ee55a00c7ecb2478a04fabdb77682b6ce8689dde;hb=5affcbfc2285da731e317dbe32fac312c67b662b;hp=3b9d87da162859c339b6a5a66548bd6a17e4d572;hpb=e39023070bb394bd75d19360dfdef983ac361714;p=lilypond.git diff --git a/lily/misc.cc b/lily/misc.cc index 3b9d87da16..ee55a00c7e 100644 --- a/lily/misc.cc +++ b/lily/misc.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2007 Han-Wen Nienhuys + (c) 1997--2009 Han-Wen Nienhuys Jan Nieuwenhuizen */ @@ -53,7 +53,7 @@ peak_around (Real epsilon, Real threshold, Real x) { if (x < 0) return 1.0; - return max (- epsilon * (x - threshold) / ((x + epsilon) * threshold), 0.0); + return max (- epsilon * (x - threshold) / ((x + epsilon) * threshold), 0.0); } /*