TransformVariables.jl icon indicating copy to clipboard operation
TransformVariables.jl copied to clipboard

corr_cholesky_factor(SMatrix...) allocates

Open tpapp opened this issue 1 month ago • 0 comments

using TransformVariables, StaticArrays
t = corr_cholesky_factor(SMatrix{7,7})
z = zeros(dimension(t))
@allocated transform(t, z) # <= 400

julia 1.12.2, TransformVariables 0.8.19, but I guess this is not new, just wasn't caught before. This is surprising since we use an MMatrix for the calculation.

tpapp avatar Dec 05 '25 12:12 tpapp