Skip to content

Commit

Permalink
Update src/sampler.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Harrison Wilde <harrisondwilde@outlook.com>
  • Loading branch information
torfjelde and HarrisonWilde authored Mar 9, 2023
1 parent a4016e1 commit ef97a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sampler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function tempered(
kwargs...
)
!(adapt && typeof(swap_strategy) <: Union{RandomSwap, SingleRandomSwap}) || error("Adaptation of the inverse temperature ladder is not currently supported under the chosen swap strategy.")
swap_every 1 || error("`swap_every` must take a positive integer value greater ≥1.")
swap_every 1 || error("`swap_every` must take a positive integer value.")
inverse_temperatures = check_inverse_temperatures(inverse_temperatures)
adaptation_states = init_adaptation(
adapt_schedule, inverse_temperatures, adapt_target, adapt_scale, adapt_eta, adapt_stepsize
Expand Down

0 comments on commit ef97a94

Please sign in to comment.