Skip to content

Commit

Permalink
Show info statement about old and current vintages being the same onl…
Browse files Browse the repository at this point in the history
…y if verbose is not none
  • Loading branch information
chenwilliam77 committed Jan 4, 2021
1 parent cbc42e0 commit bc623ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smc_main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function smc(loglikelihood::Function, parameters::ParameterVector{U}, data::Matr

# Check that if there's a tempered update, old and current vintages are different
tempered_update = !isempty(old_data) # Time tempering
if !(tempered_update & (old_vintage == data_vintage))
if (verbose != :none) && !(tempered_update & (old_vintage == data_vintage))
@info "Old & current vintages the same!"
end

Expand Down

0 comments on commit bc623ea

Please sign in to comment.