We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f74bed commit b02fadbCopy full SHA for b02fadb
src/methods.jl
@@ -261,7 +261,7 @@ function _compute_estimate(
261
# https://github.com/JuliaLang/julia/issues/39151.
262
#
263
# We strip units because the estimate coefficients are just weights for values of f.
264
- _coefs = ustrip(T.(coefs))
+ _coefs = ustrip.(T.(coefs))
265
return sum(fs .* _coefs) ./ T(step) ^ Q
266
end
267
@@ -360,7 +360,7 @@ function estimate_step(
360
) where {TF,T<:Number}
361
step, acc = withUnit.(
362
unit(x),
363
- _compute_step_acc_default(m, x) .* unit(x)
+ _compute_step_acc_default(m, x)
364
)
365
return _limit_step(m, x, step, acc)
366
0 commit comments