We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19ec378 commit 0d4bd17Copy full SHA for 0d4bd17
include/pyoptinterface/knitro_model.hpp
@@ -129,8 +129,8 @@ struct CallbackPattern
129
template <typename V>
130
struct CallbackEvaluator
131
{
132
- constexpr static std::string jac_coloring_ = "cppad";
133
- constexpr static std::string hess_coloring_ = "cppad.symmetric";
+ static inline const std::string jac_coloring_ = "cppad";
+ static inline const std::string hess_coloring_ = "cppad.symmetric";
134
std::vector<KNINT> indexVars;
135
std::vector<KNINT> indexCons;
136
0 commit comments