From ef97a940fc6a8bdb1900b9009f2a2a4466a991e4 Mon Sep 17 00:00:00 2001 From: Tor Erlend Fjelde Date: Thu, 9 Mar 2023 15:08:21 +0000 Subject: [PATCH] Update src/sampler.jl Co-authored-by: Harrison Wilde --- src/sampler.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sampler.jl b/src/sampler.jl index 72b79a0..27f8e26 100644 --- a/src/sampler.jl +++ b/src/sampler.jl @@ -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