1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-27 01:10:28 +01:00

do not force @bigintervals when we use Floats64 in a moment

This commit is contained in:
kalmar 2017-03-31 22:35:30 +02:00
parent 69e74190af
commit 5aa16314ec

View File

@ -46,7 +46,7 @@ end
import ValidatedNumerics import ValidatedNumerics
function (±){T<:Number}(X::AbstractArray{T}, tol::Real) function (±){T<:Number}(X::AbstractArray{T}, tol::Real)
r{T}(x::T) = (x == zero(T)? @biginterval(0) : x ± tol) r{T}(x::T) = (x == zero(T)? @interval(0) : x ± tol)
return r.(X) return r.(X)
end end