SleipnirGroup / Sleipnir

A linearity-exploiting sparse nonlinear constrained optimization problem solver that uses the interior-point method.
BSD 3-Clause "New" or "Revised" License
43 stars 10 forks source link

Use small_vector for VariableMatrix and Eigen::Triplet storage #558

Closed calcmogul closed 3 months ago

calcmogul commented 3 months ago

The small_vector implementation had to be replaced because ubsan caught a bug. The current implementation was chosen over LLVM's SmallVector because the latter threw maybe-uninitialized warnings in GCC 14.