Skip to content

Commit bfe8814

Browse files
committed
Improve heuristics for GaussianProcess
1 parent e71cc18 commit bfe8814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simulation/field.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ function defaultsimulation(process::GaussianProcess, domain; data=nothing)
210210
p = parent(d)
211211
b = boundingbox(p)
212212
f = process.func
213-
if p isa Grid && nvariates(f) == 1 && range(f) minimum(sides(b)) / 3 && isnothing(data)
213+
if p isa Grid && isstationary(f) && nvariates(f) == 1 && range(f) minimum(sides(b)) / 3 && isnothing(data)
214214
FFTSIM()
215215
elseif nelements(d) < 100 * 100 && isstationary(f) && issymmetric(f) && isbanded(f)
216216
LUSIM()

0 commit comments

Comments
 (0)