X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmisc.cc;h=856f34038e433a5c5d98c8453d17bc79182169a2;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=3b9d87da162859c339b6a5a66548bd6a17e4d572;hpb=d664910e595a6af588a44028a6b0771ab2c8f4b9;p=lilypond.git diff --git a/lily/misc.cc b/lily/misc.cc index 3b9d87da16..856f34038e 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--2008 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); } /*