File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -66,24 +66,9 @@ export Trajectory,
66
66
67
67
# Useful defaults
68
68
69
- # Deprecations for trajectory.jl
70
-
71
- abstract type AbstractTrajectory end
72
-
73
- struct StaticTrajectory{TS} end
74
- @deprecate StaticTrajectory {TS} (int:: AbstractIntegrator , L) where {TS} HMCKernel (
75
- Trajectory {TS} (int, FixedNSteps (L)),
76
- )
77
- @deprecate StaticTrajectory (int:: AbstractIntegrator , L) HMCKernel (
78
- Trajectory {EndPointTS} (int, FixedNSteps (L)),
79
- )
80
- @deprecate StaticTrajectory (ϵ:: AbstractScalarOrVec{<:Real} , L) HMCKernel (
81
- Trajectory {EndPointTS} (Leapfrog (ϵ), FixedNSteps (L)),
82
- )
83
-
84
69
@deprecate find_good_eps find_good_stepsize
85
70
86
- export StaticTrajectory, find_good_eps
71
+ export find_good_eps
87
72
88
73
include (" adaptation/Adaptation.jl" )
89
74
using . Adaptation
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ include("common.jl")
83
83
84
84
# Simple time benchmark
85
85
let metricT = UnitEuclideanMetric
86
- κ = StaticTrajectory ( lf, n_steps)
86
+ κ = HMCKernel ( Trajectory {EndPointTS} ( lf, FixedNSteps ( n_steps)) )
87
87
88
88
time_mat = Vector {Float64} (undef, n_chains_max)
89
89
for (i, n_chains) in enumerate (n_chains_list)
You can’t perform that action at this time.
0 commit comments