From 390c5e4bcd5e50762d30192ba7a9ec641b9b7ddc Mon Sep 17 00:00:00 2001 From: David Sanders <dpsanders@gmail.com> Date: Wed, 1 Feb 2017 06:44:13 -0500 Subject: [PATCH] Fix version limits for min and max behaviour --- src/intervals/arithmetic.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intervals/arithmetic.jl b/src/intervals/arithmetic.jl index 6e399ca..e0a417c 100644 --- a/src/intervals/arithmetic.jl +++ b/src/intervals/arithmetic.jl @@ -155,11 +155,11 @@ end //(a::Interval, b::Interval) = a / b # to deal with rationals -if VERSION >= v"0.6.0-dev" +if VERSION >= v"0.6.0-dev.1024" const filter = Iterators.filter end -if VERSION < v"0.5" +if VERSION < v"0.5.0-dev+1279" min(x) = x max(x) = x end