JuliaSmoothOptimizers / JuliaSmoothOptimizers/LDLFactorizations.jl

`getproperty` is type-unstable

Open
#93 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
36
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Just chased a type-instability in some code back to the `getproperty` method for `LDLFactorization`s [here](https://github.com/JuliaSmoothOptimizers/LDLFactorizations.jl/blob/cf1532ffb0a74b916208e085f42f925ae10bbc15/src/LDLFactorizations.jl#L849). Using `getfield` instead is a workaround, but it would be nice if the dot-property syntax was type-stable, or if there were type-stable "getter" functions for the factorization's fields.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.