| 51 | } |
| 52 | |
| 53 | void HighsSparseMatrix::clear() { |
| 54 | this->num_col_ = 0; |
| 55 | this->num_row_ = 0; |
| 56 | this->start_.clear(); |
| 57 | this->p_end_.clear(); |
| 58 | this->index_.clear(); |
| 59 | this->value_.clear(); |
| 60 | this->format_ = MatrixFormat::kColwise; |
| 61 | this->start_.assign(1, 0); |
| 62 | } |
| 63 | |
| 64 | void HighsSparseMatrix::exactResize() { |
| 65 | if (this->isColwise()) { |
no outgoing calls
no test coverage detected