Skip to content

Commit cd53a35

Browse files
committed
Export PolynomialStepsize
1 parent 5f85a5c commit cd53a35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AdvancedHMC.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import StatsBase: sample
2424
const DEFAULT_FLOAT_TYPE = typeof(float(0))
2525

2626
include("utilities.jl")
27-
27+
export PolynomialStepsize
2828
# Notations
2929
# ℓπ: log density of the target distribution
3030
# θ: position variables / model parameters

src/utilities.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Create a polynomially decaying stepsize function.
123123
124124
At iteration `t`, the step size is
125125
```math
126-
a (b + t)^{-γ}.
126+
a / (b + t)^{-γ}.
127127
```
128128
"""
129129
function PolynomialStepsize(a::T, b::T, γ::T) where {T<:Real}

0 commit comments

Comments
 (0)