We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a09989 commit bab3793Copy full SHA for bab3793
1 file changed
src/methods.jl
@@ -391,6 +391,7 @@ function _estimate_magnitudes(
391
_compute_estimate(m, fs, x, step, m.coefs_neighbourhood[2]),
392
_compute_estimate(m, fs, x, step, m.coefs_neighbourhood[3])
393
)
394
+ ∇fs = finite_or_zero(∇fs)
395
∇f_magnitude = maximum(maximum.(abs, ∇fs))
396
# Estimate magnitude of `f` in a neighbourhood of `x`.
397
f_magnitude = maximum(maximum.(abs, fs))
0 commit comments