Skip to content

Commit

Permalink
Comment out progress bars
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardlavender committed Jun 24, 2024
1 parent b14a3be commit 09c9b8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/007-particle-filter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ function particle_filter(
maxlp = zeros(nt)

#### Run filter
@showprogress desc = "Running filter..." for t in timesteps

# @showprogress desc = "Running filter..." for t in timesteps
for t in timesteps
# println(t)

#### Move particles & compute weights
Expand Down
3 changes: 2 additions & 1 deletion src/008-particle-smoother.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ function two_filter_smoother(;timeline::Vector{DateTime}, xfwd::Matrix, xbwd::Ma
cache = LRU{eltype(xfwd), Float64}(maxsize = np)

#### Run two-filter formula
@showprogress desc = "Running two-filter smoother..." for t in 2:(nt - 1)
# @showprogress desc = "Running two-filter smoother..." for t in 2:(nt - 1)
for t in 2:(nt - 1)
w = zeros(np)
@threads for k in 1:np
for j in 1:np
Expand Down

0 comments on commit 09c9b8b

Please sign in to comment.