Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix empty model segfault #79

Merged
merged 1 commit into from
May 19, 2020
Merged

Fix empty model segfault #79

merged 1 commit into from
May 19, 2020

Conversation

migarstka
Copy link
Collaborator

@migarstka migarstka commented May 18, 2020

This fixes #76 and adds an appropriate unit test.

Note: This includes the commits from PR #78 to be able to check that the CI checks pass.

Edit: Rebased.

- Check that model is not empty before `solve!()`.
- Add appropriate unit test
@migarstka migarstka force-pushed the mg/fix_empty_model branch from fa116ee to 04b0c2c Compare May 19, 2020 11:29
@migarstka migarstka requested a review from blegat May 19, 2020 11:35
@blegat blegat merged commit 095f328 into master May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segfault when solving without setup!
2 participants