Skip to content

Conversation

odow
Copy link
Member

@odow odow commented Sep 15, 2021

More fixes found while working on jump-dev/SCS.jl#219

@odow odow added the Submodule: Tests About the Tests submodule label Sep 15, 2021
@odow odow merged commit 2d5e399 into master Sep 15, 2021
@odow odow deleted the od/test-fixes branch September 15, 2021 06:16
constraint_function
# Don't compare directly, because `f` might not be canonicalized.
f = MOI.get(model, MOI.ConstraintFunction(), c)
@test isapprox(MOI.Utilities.canonical(f), constraint_function, config)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought isapprox was canonicalizing already

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. It might have been the isapprox(0 thing then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Submodule: Tests About the Tests submodule
Development

Successfully merging this pull request may close these issues.

2 participants