From: fred Date: Thu, 19 Dec 1996 00:25:47 +0000 (+0000) Subject: flower-1.0.15 X-Git-Tag: release/1.5.59~6557 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9250cd7d3df3886dd680ddfcaaa5528123ecec25;p=lilypond.git flower-1.0.15 --- diff --git a/flower/real.hh b/flower/real.hh index 1f2187c8c1..68e90f9b71 100644 --- a/flower/real.hh +++ b/flower/real.hh @@ -21,5 +21,9 @@ int sgn(Real x) { if (!x)return 0; return (x > 0) ?1: -1; } - +inline Real +distance(Real x,Real y) +{ + return ABS(x-y); +} #endif