mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-27 09:15:27 +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.±
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user