From 804efab5bb0344a33e80221630d7a4a91f471aab Mon Sep 17 00:00:00 2001 From: Matthew Kay Date: Mon, 30 Oct 2023 13:01:25 +1100 Subject: [PATCH] ensure chol() drops dimnames, for #304 --- R/rvar-math.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/rvar-math.R b/R/rvar-math.R index a8839505..37fae7d0 100755 --- a/R/rvar-math.R +++ b/R/rvar-math.R @@ -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)) }