Skip to content

corr_cholesky_factor(SMatrix...) allocates #152

Description

@tpapp
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions