Skip to content

Commit 62d1886

Browse files
committed
Fix assignment-in-call bug
1 parent 306c92e commit 62d1886

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# bayesplot (development version)
22

3+
* Fix assignment-in-call bug in `mcmc_trace_ucdf`/`mcmc_trace_rcdf`: `L <- n_chain` (which leaked `L` into the calling environment) corrected to `L = n_chain` (#).
34
* New functions `mcmc_dots` and `mcmc_dots_by_chain` for dot plots of MCMC draws by @behramulukir (#402)
45
* Default to `quantiles=100` for all dot plots by @behramulukir (#402)
56

R/mcmc-traces.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ mcmc_rank_ecdf <-
508508
} else {
509509
K
510510
},
511-
L <- n_chain
511+
L = n_chain
512512
)
513513
data_lim <- data.frame(
514514
upper = lims$upper / n_iter - (plot_diff == TRUE) * x,

0 commit comments

Comments
 (0)