From 74c158521769f514c8875b1c636d493cd920017f Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Sun, 14 Jun 2009 17:07:24 +0300 Subject: [PATCH] Fix a thinko that broke the contract of STL sort. --- flower/include/interval.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 static bool left_less (Interval_t const &a, Interval_t const &b) { - return a[LEFT] < b[RIGHT]; + return a[LEFT] < b[LEFT]; } }; -- 2.39.5