diff --git a/src/Radials.jl b/src/Radials.jl index 19d9b8bc0..88178a899 100644 --- a/src/Radials.jl +++ b/src/Radials.jl @@ -34,9 +34,9 @@ RadialBasis(x,y,lb,ub,rad::RadialFunction, scale_factor::Float = 1.0) Constructor for RadialBasis surrogate, of the form -$$f(x) = \sum_{i=1}^{N} w_i \phi(|x - \bold{c}_i|) \bold{v}^{T} + \bold{v}^{\mathrm{T}} [ 0; \bold{x} ]$$ +``f(x) = \\sum_{i=1}^{N} w_i \\phi(|x - \\bold{c}_i|) \\bold{v}^{T} + \\bold{v}^{\\mathrm{T}} [ 0; \\bold{x} ]`` -where $w_i$ are the weights of polyharmonic splines $$\phi(x)$$ and $$\bold{v}$$ are coefficients +where ``w_i`` are the weights of polyharmonic splines ``\\phi(x)`` and ``\\bold{v}`` are coefficients of a polynomial term. References: diff --git a/test/runtests.jl b/test/runtests.jl index b833b0657..08e80ab76 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -2,6 +2,7 @@ using Surrogates using Test using SafeTestsets using Pkg +VERSION <= v"1.7" && Pkg.add(name="Statistics", version=VERSION) function dev_subpkg(subpkg) subpkg_path = joinpath(dirname(@__DIR__), "lib", subpkg)