diff --git a/lib/POMDPTools/src/Simulators/history_recorder.jl b/lib/POMDPTools/src/Simulators/history_recorder.jl index bfd0299e..11e51791 100644 --- a/lib/POMDPTools/src/Simulators/history_recorder.jl +++ b/lib/POMDPTools/src/Simulators/history_recorder.jl @@ -92,7 +92,7 @@ function simulate(sim::HistoryRecorder, if (sim.max_steps === nothing) && (sim.eps === nothing) error("If show_progress=true in a HistoryRecorder, you must also specify max_steps or eps.") end - prog = Progress(max_steps, "Simulating..." ) + prog = Progress(max_steps; desc="Simulating..." ) else prog = nothing end @@ -150,7 +150,7 @@ function simulate(sim::HistoryRecorder, if (sim.max_steps === nothing) && (sim.eps === nothing) error("If show_progress=true in a HistoryRecorder, you must also specify max_steps or eps.") end - prog = Progress(max_steps, "Simulating..." ) + prog = Progress(max_steps; desc="Simulating..." ) else prog = nothing end diff --git a/lib/POMDPTools/src/Simulators/parallel.jl b/lib/POMDPTools/src/Simulators/parallel.jl index 12b5f901..90c61362 100644 --- a/lib/POMDPTools/src/Simulators/parallel.jl +++ b/lib/POMDPTools/src/Simulators/parallel.jl @@ -119,7 +119,7 @@ end will return a dataframe with with the number of steps and the reward in it. """ function run_parallel(process::Function, queue::AbstractVector, pool::AbstractWorkerPool=default_worker_pool(); - progress=Progress(length(queue), desc="Simulating..."), + progress=Progress(length(queue); desc="Simulating..."), proc_warn::Bool=true, show_progress::Bool=true) if nworkers(pool) == 1 && proc_warn