Skip to content

Commit 872dc12

Browse files
committed
typos
1 parent fb286ad commit 872dc12

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/DoubleMM/f_doubleMM.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@ function HVI.gen_hybridproblem_synthetic(rng::AbstractRNG, prob::DoubleMMCase;
280280
θMs_true = int_θMs_sites(scale_centered_at(θMs_true0, θM, FloatType(0.1)))
281281
f = get_hybridproblem_PBmodel(prob; scenario, gdev = identity, use_all_sites = true)
282282
#xP = fill((; S1 = xP_S1, S2 = xP_S2), n_site)
283-
int_xPn = ComponentArrayInterpreter(int_xP1, (n_site,))
284-
xP = int_xPn(vcat(repeat(xP_S1, 1, n_site), repeat(xP_S2, 1, n_site)))
283+
int_xP_sites = ComponentArrayInterpreter(int_xP1, (n_site,))
284+
xP = int_xP_sites(vcat(repeat(xP_S1, 1, n_site), repeat(xP_S2, 1, n_site)))
285285
#xP[:S1,:]
286286
θP = par_templates.θP
287287
#θint = ComponentArrayInterpreter( (size(θMs_true,2),), CA.getaxes(vcat(θP, θMs_true[:,1])))

src/elbo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Returns an NamedTuple `(; y, θsP, θsMs, entropy_ζ)` with entries
164164
that are kept constant across sites.
165165
- `θsMs`: ComponentArray `(n_site, n_θM, n_sample_pred)` of PBM model parameters
166166
that vary by site.
167-
- `entropy_ζ`: The entroy of the log-determinant of the transformation of
167+
- `entropy_ζ`: The entropy of the log-determinant of the transformation of
168168
the set of model parameters, which is involved in uncertainty quantification.
169169
"""
170170
function predict_hvi(rng, prob::AbstractHybridProblem; scenario, kwargs...)

0 commit comments

Comments
 (0)