* basiclu_obj_update() */
| 306 | * basiclu_obj_update() |
| 307 | */ |
| 308 | lu_int basiclu_obj_update(struct basiclu_object *obj, double xtbl) |
| 309 | { |
| 310 | lu_int status = BASICLU_OK; |
| 311 | |
| 312 | if (!isvalid(obj)) |
| 313 | return BASICLU_ERROR_invalid_object; |
| 314 | |
| 315 | while (status == BASICLU_OK) |
| 316 | { |
| 317 | status = basiclu_update(obj->istore, obj->xstore, obj->Li, obj->Lx, |
| 318 | obj->Ui, obj->Ux, obj->Wi, obj->Wx, xtbl); |
| 319 | if (status != BASICLU_REALLOCATE) |
| 320 | break; |
| 321 | status = lu_realloc_obj(obj); |
| 322 | } |
| 323 | |
| 324 | return status; |
| 325 | } |
nothing calls this directly
no test coverage detected