Closed tpapp closed 1 year ago
Patch coverage: 100.00
% and project coverage change: +0.05
:tada:
Comparison is base (
1592fe9
) 87.28% compared to head (c5dce04
) 87.33%.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Makes sense but shouldn't all configs have this method define then for consistency?
I just realized that for ::AbstractConfig
there is a copy
that falls back to deepcopy
, which should be sufficient. Closing.
This is motivated by https://github.com/tpapp/LogDensityProblemsAD.jl/pull/8, where the user can supply a
GradientConfig
, but the unified API for thread-safe invocation would require that the resulting object can becopy
ed.Instead of relying on unexposed internals of this package, I thought it would be better to put this functionality here.