We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c69dda commit a7c5d48Copy full SHA for a7c5d48
src/Sobol.jl
@@ -78,7 +78,9 @@ function next!(s::SobolSeq, x::AbstractVector{<:AbstractFloat})
78
end
79
next!(s::SobolSeq) = next!(s, Array{Float64,1}(undef, ndims(s)))
80
81
-import Base: next
+@static if isdefined(Base, :next)
82
+ import Base: next
83
+end
84
@deprecate next(s::AbstractSobolSeq) next!(s)
85
86
# if we know in advance how many points (n) we want to compute, then
0 commit comments