| 250 | } |
| 251 | |
| 252 | bool highsVarTypeUserDataNotNull(const HighsLogOptions& log_options, |
| 253 | const HighsVarType* user_data, |
| 254 | const std::string& name) { |
| 255 | bool null_data = false; |
| 256 | if (user_data == NULL) { |
| 257 | highsLogUser(log_options, HighsLogType::kError, |
| 258 | "User-supplied %s are NULL\n", name.c_str()); |
| 259 | null_data = true; |
| 260 | } |
| 261 | assert(!null_data); |
| 262 | return null_data; |
| 263 | } |
| 264 | |
| 265 | bool intUserDataNotNull(const HighsLogOptions& log_options, |
| 266 | const HighsInt* user_data, const std::string& name) { |
no test coverage detected