mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-14 14:15:28 +01:00
do not force @bigintervals when we use Floats64 in a moment
This commit is contained in:
parent
69e74190af
commit
5aa16314ec
@ -46,7 +46,7 @@ end
|
||||
import ValidatedNumerics.±
|
||||
|
||||
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)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user