From: fred Date: Sun, 17 Nov 1996 23:42:55 +0000 (+0000) Subject: lilypond-0.0.10 X-Git-Tag: release/1.5.59~6803 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=df9649abf8248d750b9777c8ede0d9dee2bf239e;p=lilypond.git lilypond-0.0.10 --- diff --git a/hdr/boxes.hh b/hdr/boxes.hh index 15beb8c372..e3ea69a3bf 100644 --- a/hdr/boxes.hh +++ b/hdr/boxes.hh @@ -42,7 +42,15 @@ struct Interval { min += t; max += t; } - + Real operator[](int j) { + if (j==-1) + return min; + else if (j==1) + return max; + else + assert(false); + + } void unite(Interval h) { if (h.min