From 345b254575c8a94b533db2a8761d1428d0b0cb1a Mon Sep 17 00:00:00 2001 From: Sathvik Bhagavan Date: Mon, 28 Aug 2023 15:20:20 +0000 Subject: [PATCH 1/3] fix: precompilation as the docstrings had invalid syntax --- src/Radials.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Radials.jl b/src/Radials.jl index 19d9b8bc..88178a89 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: From 984b6e4bd83fe64b99f4a452bd8eab70d0c3eb1a Mon Sep 17 00:00:00 2001 From: Sathvik Bhagavan Date: Mon, 11 Sep 2023 02:49:36 +0000 Subject: [PATCH 2/3] test: add `Statistics` using Pkg.add This is to see if CI will pass or not. This will be removed before merging --- test/runtests.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/runtests.jl b/test/runtests.jl index b833b065..d709e109 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -2,6 +2,7 @@ using Surrogates using Test using SafeTestsets using Pkg +Pkg.add(name="Statistics", version=VERSION) function dev_subpkg(subpkg) subpkg_path = joinpath(dirname(@__DIR__), "lib", subpkg) From 7d3c0c345c912bfe213cca50824132618198bf80 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Thu, 14 Sep 2023 08:56:41 -0400 Subject: [PATCH 3/3] Update test/runtests.jl --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index d709e109..08e80ab7 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -2,7 +2,7 @@ using Surrogates using Test using SafeTestsets using Pkg -Pkg.add(name="Statistics", version=VERSION) +VERSION <= v"1.7" && Pkg.add(name="Statistics", version=VERSION) function dev_subpkg(subpkg) subpkg_path = joinpath(dirname(@__DIR__), "lib", subpkg)