diff options
author | Joe Neeman <joeneeman@gmail.com> | 2009-06-14 17:07:24 +0300 |
---|---|---|
committer | Joe Neeman <joeneeman@gmail.com> | 2009-07-24 13:06:30 -0700 |
commit | 74c158521769f514c8875b1c636d493cd920017f (patch) | |
tree | 7879159a0e52847cea03f07e470bf911a67c887b /flower | |
parent | d87466533c839caa004e93012844616a7ec81bda (diff) |
Fix a thinko that broke the contract of STL sort.
Diffstat (limited to 'flower')
-rw-r--r-- | flower/include/interval.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flower/include/interval.hh b/flower/include/interval.hh index 27e221af8c..edb76deb1a 100644 --- a/flower/include/interval.hh +++ b/flower/include/interval.hh @@ -121,7 +121,7 @@ struct Interval_t : public Drul_array<T> static bool left_less (Interval_t<T> const &a, Interval_t<T> const &b) { - return a[LEFT] < b[RIGHT]; + return a[LEFT] < b[LEFT]; } }; |