You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Further improvements to recently introduced constructors (#340)
* remove type parameter from AbstractHMCSampler, and added eltype for metrics
* Update src/constructors.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* added determine_sampler_eltype to unify handling of different argument types
* fixed issues with conversion of arguments
* added test for type promotion in the case of HMCDA
* removed unnecessary float calls
* make sampler types concretely typed
* Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* remove now-redundant type parameter from HMC
* removed unused argument to HMCDA
* Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update src/constructors.jl
Co-authored-by: Hong Ge <[email protected]>
---------
Co-authored-by: Jaime RZ <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hong Ge <[email protected]>
"Choice of integrator, specified either using a `Symbol` or [`AbstractIntegrator`](@ref)"
64
-
integrator::Union{Symbol,AbstractIntegrator}
93
+
integrator::I
65
94
"Choice of initial metric; `Symbol` means it is automatically initialised. The metric type will be preserved during automatic initialisation and adaption."
"Choice of integrator, specified either using a `Symbol` or [`AbstractIntegrator`](@ref)"
96
-
integrator::Union{Symbol,AbstractIntegrator}
128
+
integrator::I
97
129
"Choice of initial metric; `Symbol` means it is automatically initialised. The metric type will be preserved during automatic initialisation and adaption."
0 commit comments