Skip to content

Commit 88d3665

Browse files
committed
apply code review comments
1 parent cc20911 commit 88d3665

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "AdvancedVI"
22
uuid = "b5ca4192-6429-45e5-a2d9-87aec30a685c"
3-
version = "0.3.2"
3+
version = "0.4.0"
44

55
[deps]
66
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

src/AdvancedVI.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,14 @@ export NoAveraging, PolynomialAveraging
265265
abstract type AbstractOperator end
266266

267267
"""
268-
apply(op::AbstractOperator, family, rule, state, params, restructure)
268+
apply(op::AbstractOperator, family, rule, opt_state, params, restructure)
269269
270270
Apply operator `op` on the variational parameters `params`. For instance, `op` could be a projection or proximal operator.
271271
272272
# Arguments
273273
- `op::AbstractOperator`: Operator operating on the parameters `params`.
274274
- `family::Type`: Type of the variational approximation `restructure(params)`.
275+
- `opt_state`: State of the optimizer.
275276
- `params`: Variational parameters.
276277
- `restructure`: Function that reconstructs the variational approximation from `params`.
277278

0 commit comments

Comments
 (0)