martindevans / Cassowary.net

An incremental constraint solver for .NET
http://jozilla.net/Software/CassowaryNet
GNU Lesser General Public License v2.1
3 stars 5 forks source link

pivoting objective fix #9

Closed krypt-lynx closed 4 years ago

krypt-lynx commented 4 years ago

Fix of solver self-destructing by removing objective variable while removing constraint

krypt-lynx commented 4 years ago

I don't have unit tests for that, unfortunately. It is not something I can construct, but I encountered this case in window layout generated by lib I working on

martindevans commented 4 years ago

Thanks 👍