-
-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Description
Description:
The Kriging code from the tutorial produces a 'ReadOnlyMemory()' error.
To Reproduce:
Run the following code. Error occurs on my system if number of sampling points is greater than 65:
using Surrogates
f = x -> exp(x)*x^2+x^3
lb = 0.0
ub = 10.0
x = sample(100,lb,ub,UniformSample())
y = f.(x)
p = 1.9
my_krig = Kriging(x,y,lb,ub,p=p)
Device information:
MacBook Air (M1, 2020)
Chip Apple M1
Metadata
Metadata
Assignees
Labels
No labels