File tree Expand file tree Collapse file tree 2 files changed +2
-20
lines changed
Expand file tree Collapse file tree 2 files changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -154,16 +154,6 @@ function ∂H∂r(
154154 return G \ r
155155end
156156
157- # Non-keyword version for backward compatibility with integrator
158- function ∂H∂r (
159- h:: Hamiltonian{<:AbstractRiemannianMetric,<:GaussianKinetic} ,
160- θ:: AbstractVector ,
161- r:: AbstractVector ,
162- )
163- G_eval = metric_eval (h. metric, θ)
164- return G_eval \ r
165- end
166-
167157# ###
168158# ### Negative energy (log probability)
169159# ###
@@ -200,16 +190,6 @@ function neg_energy(
200190 return - logZ - quadform / 2
201191end
202192
203- # Non-keyword version for backward compatibility
204- function neg_energy (
205- h:: Hamiltonian{<:AbstractRiemannianMetric,<:GaussianKinetic} ,
206- r:: AbstractVector ,
207- θ:: AbstractVector ,
208- )
209- G_eval = metric_eval (h. metric, θ)
210- return neg_energy (h, r, θ; G_eval= G_eval)
211- end
212-
213193# ###
214194# ### Phase point construction
215195# ###
Original file line number Diff line number Diff line change 1+ import LinearAlgebra
2+
13# ###
24# ### Riemannian Metric Types
35# ###
You can’t perform that action at this time.
0 commit comments