File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ function sample(
117117 drop_warmup= false ,
118118 verbose:: Bool = true ,
119119 progress:: Bool = false ,
120- (pm_next!):: Function = ( pm_next!) ,
120+ (pm_next!):: Function = pm_next!,
121121)
122122 return sample (
123123 Random. default_rng (),
@@ -130,7 +130,7 @@ function sample(
130130 drop_warmup= drop_warmup,
131131 verbose= verbose,
132132 progress= progress,
133- (pm_next!)= ( pm_next!) ,
133+ (pm_next!)= pm_next!,
134134 )
135135end
136136
@@ -168,7 +168,7 @@ function sample(
168168 drop_warmup= false ,
169169 verbose:: Bool = true ,
170170 progress:: Bool = false ,
171- (pm_next!):: Function = ( pm_next!) ,
171+ (pm_next!):: Function = pm_next!,
172172) where {T<: AbstractVecOrMat{<:AbstractFloat} }
173173 @assert ! (drop_warmup && (adaptor isa Adaptation. NoAdaptation)) " Cannot drop warmup samples if there is no adaptation phase."
174174 # Prepare containers to store sampling results
Original file line number Diff line number Diff line change @@ -141,9 +141,8 @@ $(TYPEDEF)
141141Slice sampler for the starting single leaf tree.
142142Slice variable is initialized.
143143"""
144- function SliceTS (rng:: AbstractRNG , z0:: PhasePoint )
145- return SliceTS (z0, neg_energy (z0) - Random. randexp (rng), 1 )
146- end
144+ SliceTS (rng:: AbstractRNG , z0:: PhasePoint ) =
145+ SliceTS (z0, neg_energy (z0) - Random. randexp (rng), 1 )
147146
148147"""
149148$(TYPEDEF)
You can’t perform that action at this time.
0 commit comments