From c96a60826de3a185782a90d3308681b0770e4c2f Mon Sep 17 00:00:00 2001 From: Austin Hyde Date: Wed, 15 Jul 2015 00:34:10 -0400 Subject: [PATCH] Fix double-equal typo --- redis-timeseries.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis-timeseries.rb b/redis-timeseries.rb index fd01c0d..4c0e895 100644 --- a/redis-timeseries.rb +++ b/redis-timeseries.rb @@ -104,7 +104,7 @@ def seek(time) break end # Already at the end of the string but still no luck? - return len+1 if range_end = len + return len+1 if range_end == len # We need to enlrange the range, it is interesting to note # that we take the enlarged value: likely other time series # will be the same size on average.