Skip to content

Commit

Permalink
adapt to storage for chain starting point quasisample
Browse files Browse the repository at this point in the history
  • Loading branch information
marius311 committed Feb 24, 2020
1 parent 1bfec09 commit 1b366c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sampling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function sample_joint(
else
ϕstarts = pmap(θstarts) do θstart
Random.seed!()
MAP_joint(ds(;θstart...), progress=(progress==:verbose ? :summary : false), Nϕ=, quasi_sample=(ϕstart==:quasi_sample); MAP_kwargs...)[2]
MAP_joint(adapt(storage,ds(;θstart...)), progress=(progress==:verbose ? :summary : false), Nϕ=adapt(storage,Nϕ), quasi_sample=(ϕstart==:quasi_sample); MAP_kwargs...).ϕ
end
end
chains = pmap(θstarts,ϕstarts) do θstart,ϕstart
Expand Down

0 comments on commit 1b366c8

Please sign in to comment.