tulip-control / polytope

Geometric operations on polytopes of any dimension
https://pypi.org/project/polytope
Other
73 stars 19 forks source link

workaround bug in cvxopt v1.2.0 #52

Closed slivingston closed 6 years ago

slivingston commented 6 years ago

This pull request addresses issue #51.

The only commit here is the change first proposed at https://github.com/tulip-control/polytope/issues/51#issuecomment-401656869

The bug in version 1.2.0 of cvxopt is reported upstream at https://github.com/cvxopt/cvxopt/issues/120

N.B., the patch from this PR will continue to be correct after upstream fixes the bug and makes a new release, assuming there are not new, API-breaking changes in that release.

slivingston commented 6 years ago

I am using polytope in some other software (not Tulip). Upgrading to cvxopt v1.2.0 results in faults. Applying the patch proposed in this pull request results in correct output again.

slivingston commented 6 years ago

I have been using this without errors in my work, and assuming no one is available for review, I will merge now.