Skip to content

Commit

Permalink
Merge pull request #438 from sathvikbhagavan/sb/fix_precompilation
Browse files Browse the repository at this point in the history
fix: `master` branch is failing precompilation
  • Loading branch information
ChrisRackauckas authored Sep 17, 2023
2 parents 2d18644 + 7d3c0c3 commit c2fee00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Radials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c2fee00

Please sign in to comment.