| 37 | } |
| 38 | |
| 39 | HighsStatus worseStatus(const HighsStatus status0, const HighsStatus status1) { |
| 40 | HighsStatus return_status = HighsStatus::kError; |
| 41 | if (status0 == HighsStatus::kError || status1 == HighsStatus::kError) |
| 42 | return_status = HighsStatus::kError; |
| 43 | else if (status0 == HighsStatus::kWarning || status1 == HighsStatus::kWarning) |
| 44 | return_status = HighsStatus::kWarning; |
| 45 | else |
| 46 | return_status = HighsStatus::kOk; |
| 47 | return return_status; |
| 48 | } |
no outgoing calls
no test coverage detected