coin-or / Bonmin

Basic Open-source Nonlinear Mixed INteger programming
https://coin-or.github.io/Bonmin
Eclipse Public License 1.0
118 stars 22 forks source link

catch bad_alloc by reference #27

Closed jschueller closed 2 years ago

svigerske commented 2 years ago

Since you are there, what about changing this to a const std::bad_alloc& ?

jschueller commented 2 years ago

even better