Skip to content

Commit c2fee00

Browse files
Merge pull request #438 from sathvikbhagavan/sb/fix_precompilation
fix: `master` branch is failing precompilation
2 parents 2d18644 + 7d3c0c3 commit c2fee00

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Radials.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ RadialBasis(x,y,lb,ub,rad::RadialFunction, scale_factor::Float = 1.0)
3434
3535
Constructor for RadialBasis surrogate, of the form
3636
37-
$$f(x) = \sum_{i=1}^{N} w_i \phi(|x - \bold{c}_i|) \bold{v}^{T} + \bold{v}^{\mathrm{T}} [ 0; \bold{x} ]$$
37+
``f(x) = \\sum_{i=1}^{N} w_i \\phi(|x - \\bold{c}_i|) \\bold{v}^{T} + \\bold{v}^{\\mathrm{T}} [ 0; \\bold{x} ]``
3838
39-
where $w_i$ are the weights of polyharmonic splines $$\phi(x)$$ and $$\bold{v}$$ are coefficients
39+
where ``w_i`` are the weights of polyharmonic splines ``\\phi(x)`` and ``\\bold{v}`` are coefficients
4040
of a polynomial term.
4141
4242
References:

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ using Surrogates
22
using Test
33
using SafeTestsets
44
using Pkg
5+
VERSION <= v"1.7" && Pkg.add(name="Statistics", version=VERSION)
56

67
function dev_subpkg(subpkg)
78
subpkg_path = joinpath(dirname(@__DIR__), "lib", subpkg)

0 commit comments

Comments
 (0)