]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/interval.hh
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / flower / include / interval.hh
index 7b7d4f54e5b98c74310e569986c187ab6481e17c..1b095dedc307e1ed8a5460b561a5fc87b23e3b90 100644 (file)
@@ -128,9 +128,9 @@ struct Interval_t : public Drul_array<T>
     at (RIGHT) = t;
   }
 
-  static bool left_less (Interval_t<T> const &a, Interval_t<T> const &b)
+  static int left_comparison (Interval_t<T> const &a, Interval_t<T> const &b)
   {
-    return a[LEFT] < b[RIGHT];
+    return sign (a[LEFT] - b[RIGHT]);
   }
 };