embotech/ecos

Redundant unset_equilibration in ECOS_updateData()

Closed this issue · 0 comments

It looks like this call to unset_eqilibration() is redundant since the matrices and vectors that get restored by it are overwritten right after. This would not be an issue by itself, but is very inconvenient since it forces the user to alternate between two locations in memory for the A, G, c, h, b data between calls to ECOS_updateData() and ECOS_solve().

ecos/src/ecos.c

Line 1655 in d0a0551

unset_equilibration(w);