Skip to content

Commit

Permalink
fix plotting progress bar recommit
Browse files Browse the repository at this point in the history
  • Loading branch information
gufengzhou committed Dec 9, 2021
1 parent 88ef03c commit e72d6dc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions R/R/model.R
Original file line number Diff line number Diff line change
Expand Up @@ -877,10 +877,8 @@ robyn_run <- function(InputCollect,
))
} # end solution loop

if (parallel_plotting) {
cnt <- cnt + length(uniqueSol)
setTxtProgressBar(pbplot, cnt)
}
cnt <- cnt + length(uniqueSol)
setTxtProgressBar(pbplot, cnt)

# append parallel run results
mediaVecCollect <- append(mediaVecCollect, lapply(parallelResult, function (x) x$mediaVecCollect))
Expand Down

0 comments on commit e72d6dc

Please sign in to comment.