Skip to content

Commit

Permalink
fix term progress calls
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimens authored Jan 20, 2023
1 parent 324038f commit 0559bca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/FStatistics/FstPermutations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function _fst_permutation(data::PopData, method::Function, iterations::Int64)
end
@inbounds results[i,j] = fst_val
@inbounds results[j,i] = (pval + 1) / iterations
pbar.update!(job)
update!(job)
end
end
stop!(pbar)
Expand Down
4 changes: 2 additions & 2 deletions src/Kinship/KinshipPairwise.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function _kinship_boot_nofreq(data::PopData, method::Function, iterations::Int,
@inbounds bresult[i,j] = bootstats.stats[1].μ
@inbounds b_sdev[i,j] = sqrt(bootstats.stats[1].σ2)
@inbounds b_ci[i,j] = value(bootstats.stats[2])
progress.update!(job)
update!(job)
end
end
end
Expand Down Expand Up @@ -179,7 +179,7 @@ function _kinship_boot_freq(data::PopData, method::Function, iterations::Int, in
@inbounds bresult[i,j] = bootstats.stats[1].μ
@inbounds b_sdev[i,j] = sqrt(bootstats.stats[1].σ2)
@inbounds b_ci[i,j] = value(bootstats.stats[2])
progress.update!(job)
update!(job)
end
end
end
Expand Down

0 comments on commit 0559bca

Please sign in to comment.