Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Oct 26, 2023
1 parent 0ea293a commit 6e8f88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sample.jl
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ function mcmcsample(
# Discard initial samples.
for j in 1:discard_initial
# Obtain the next sample and state.
sample, state = if j discard_num_warmup
sample, state = if j discard_from_warmup
step_warmup(rng, model, sampler, state; kwargs...)

Check warning on line 297 in src/sample.jl

View check run for this annotation

Codecov / codecov/patch

src/sample.jl#L297

Added line #L297 was not covered by tests
else
step(rng, model, sampler, state; kwargs...)
Expand Down

0 comments on commit 6e8f88e

Please sign in to comment.