Skip to content

Commit

Permalink
remove import from deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
mrazomej committed Jan 15, 2025
1 parent a1c2ad8 commit 833d07e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/vi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ import DynamicPPL
import DataFrames as DF
import CSV

# Import needed function from the stats.jl module
using ..stats: build_getq

# Import needed function from the utils module
using ..utils: data_to_arrays, advi_to_df

Expand All @@ -27,9 +24,6 @@ import DynamicPPL
import DataFrames as DF
import CSV

# Import needed function from the stats.jl module
using ..stats: build_getq

# Import needed function from the utils module
using ..utils: data_to_arrays, advi_to_df

Expand Down Expand Up @@ -147,7 +141,8 @@ function advi(;
Logging.@info "Initialize Variational Inference Optimization..."
end # if

# Check if model is multi-environment to manually add the list of environments
# Check if model is multi-environment to manually add the list of
# environments
if occursin("multienv", "$(model)")
# Initialize empty dictionary that accepts any type
mk = Dict{Symbol,Any}(:envs => data_arrays.envs)
Expand Down

2 comments on commit 833d07e

@mrazomej
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/123075

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" 833d07e7beaf89691c090148a7a7fa231849120f
git push origin v0.1.0

Please sign in to comment.