robotology / osqp-eigen

Simple Eigen-C++ wrapper for OSQP library
https://robotology.github.io/osqp-eigen/
BSD 3-Clause "New" or "Revised" License
381 stars 112 forks source link

Fix missing #include <cassert> #143

Closed traversaro closed 1 year ago

traversaro commented 1 year ago

Assert is used in SparseMatrixHelper.tpp, so the relative header should be included. Probably it was working with old version of GCC/libstdc++ due to some transitive include in the standard library.

Fix https://github.com/robotology/osqp-eigen/issues/141 .

traversaro commented 1 year ago

Actually this was already proposed in https://github.com/robotology/osqp-eigen/pull/130, let's close this PR then.