| 263 | } |
| 264 | |
| 265 | bool intUserDataNotNull(const HighsLogOptions& log_options, |
| 266 | const HighsInt* user_data, const std::string& name) { |
| 267 | bool null_data = false; |
| 268 | if (user_data == NULL) { |
| 269 | highsLogUser(log_options, HighsLogType::kError, |
| 270 | "User-supplied %s are NULL\n", name.c_str()); |
| 271 | null_data = true; |
| 272 | } |
| 273 | assert(!null_data); |
| 274 | return null_data; |
| 275 | } |
| 276 | |
| 277 | bool doubleUserDataNotNull(const HighsLogOptions& log_options, |
| 278 | const double* user_data, const std::string& name) { |
no test coverage detected