Skip to content

Commit

Permalink
ensure chol(<rvar>) drops dimnames, for #304
Browse files Browse the repository at this point in the history
  • Loading branch information
mjskay committed Oct 30, 2023
1 parent 006d1e3 commit 804efab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/rvar-math.R
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ chol.rvar <- function(x, ...) {

# drop dimension names (chol.tensor screws them around)
names(dim(result)) <- NULL
dimnames(result) <- NULL

new_rvar(result, .nchains = nchains(x))
}
Expand Down

0 comments on commit 804efab

Please sign in to comment.