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

[Utilities] refactor src/Utilties/model.jl #2287

Merged
merged 1 commit into from Sep 22, 2023
Merged

[Utilities] refactor src/Utilties/model.jl #2287

merged 1 commit into from Sep 22, 2023

Conversation

odow
Copy link
Member

@odow odow commented Sep 21, 2023

This is one of the most important files in MOI because Utilities.Model gets used by almost every package.

The previous version was not ordered, obscured the structs on which it operated until the very end, and used eval to save a few lines.

This made it hard to read, hard to understand, and hard to identify which methods were needed, missing, or incorrect.

The diff is quite bad, but it's just moving things around. No code changes except #2286.

@odow odow added the Submodule: Utilities About the Utilities submodule label Sep 21, 2023
The previous version was not ordered, obscured the structs on which it
operated until the very end, and used eval to save a few lines.

This made it hard to read, hard to understand, and hard to identify which
methods were needed, missing, or incorrect.
@odow odow merged commit c059b17 into master Sep 22, 2023
17 checks passed
@odow odow deleted the od/utilities-model branch September 22, 2023 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Submodule: Utilities About the Utilities submodule
Development

Successfully merging this pull request may close these issues.

None yet

2 participants