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] throw UnsupportedAttribute in pass_attributes #1613

Merged
merged 1 commit into from
Sep 15, 2021

Conversation

odow
Copy link
Member

@odow odow commented Sep 15, 2021

We should put a proper supports check here and throw the right error so down-stream users don't have to duplicate work.

Another idea from jump-dev/SCS.jl#219

@odow odow added the Submodule: Utilities About the Utilities submodule label Sep 15, 2021
@odow odow merged commit ab9d262 into master Sep 15, 2021
@odow odow deleted the od/pass_attribute branch September 15, 2021 06:18
@blegat
Copy link
Member

blegat commented Sep 15, 2021

This shouldn't be needed, the fallback of MOI.set is already throwing the error.

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.

2 participants