| 53 | } |
| 54 | |
| 55 | void HighsCallback::clear() { |
| 56 | this->user_callback = nullptr; |
| 57 | this->user_callback_data = nullptr; |
| 58 | this->active.assign(kNumCallbackType, false); |
| 59 | this->clearHighsCallbackOutput(); |
| 60 | this->clearHighsCallbackInput(); |
| 61 | } |
| 62 | |
| 63 | bool HighsCallback::callbackActive(const int callback_type) { |
| 64 | // Check that callback function has been defined |
no test coverage detected