From 3279f7ef2c5b4e913c47ab3d9b63f3e56a0c9f64 Mon Sep 17 00:00:00 2001 From: Jim Paris Date: Thu, 1 Aug 2019 17:39:32 -0400 Subject: [PATCH] Fix misnamed function --- nilmdb/server/interval.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nilmdb/server/interval.pyx b/nilmdb/server/interval.pyx index 2db203c..8f31d28 100644 --- a/nilmdb/server/interval.pyx +++ b/nilmdb/server/interval.pyx @@ -67,7 +67,7 @@ cdef class Interval: return (self.start, self.end) > (other.start, other.end) def __le__(self, Interval other): return (self.start, self.end) <= (other.start, other.end) - def __le__(self, Interval other): + def __ge__(self, Interval other): return (self.start, self.end) >= (other.start, other.end) def __eq__(self, Interval other): return (self.start, self.end) == (other.start, other.end)