Skip to content

Conversation

odow
Copy link
Member

@odow odow commented Nov 19, 2021

Part of #841

@@ -190,7 +174,7 @@ function test_linear_integration(
else
MOI.delete(model, c)
cf = MOI.ScalarAffineFunction{T}(
MOI.ScalarAffineTerm{T}.([one(T), one(T), one(T)], v),
MOI.ScalarAffineTerm{T}.(one(T), v),
Copy link
Member

Choose a reason for hiding this comment

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

T(1)
are we standardizing?

Copy link
Member Author

Choose a reason for hiding this comment

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

I switched to T(1) and T(0). We assume you can go T(3), so we might as well go all-in.

Copy link
Member

@joaquimg joaquimg left a comment

Choose a reason for hiding this comment

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

We should decide between T(1) and one(T), same do zero.

@odow odow force-pushed the od/generic-tests-linear branch from aa9e76c to a011e6b Compare November 21, 2021 22:56
@odow odow merged commit 6e937d8 into master Nov 22, 2021
@odow odow deleted the od/generic-tests-linear branch November 22, 2021 19:45
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