Skip to content

Commit

Permalink
todo for fixing #300
Browse files Browse the repository at this point in the history
  • Loading branch information
mjskay committed Oct 30, 2023
1 parent 0443325 commit f55034b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/bind_draws.R
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ bind_draws.draws_rvars <- function(x, ..., along = "variable") {
} else if (along == "iteration") {
stop_no_call("Cannot bind 'draws_rvars' objects along 'iteration'.")
} else if (along %in% c("chain", "draw")) {
# TODO here: make sure both "draw" and "chain" result in new draw_ids (add tests)
check_same_fun_output(dots, variables)
if (along == "chain") {
check_same_fun_output(dots, iteration_ids)
Expand Down

0 comments on commit f55034b

Please sign in to comment.