-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
Add vectorized operation tests #1274
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1274 +/- ##
==========================================
+ Coverage 82.05% 84.03% +1.97%
==========================================
Files 24 24
Lines 3416 3451 +35
==========================================
+ Hits 2803 2900 +97
+ Misses 613 551 -62
Continue to review full report at Codecov.
|
test/operator.jl
Outdated
@test vec_eq(Xd'*Y, Xd.'*Y) | ||
@test vec_eq(Y'*Xd, Y.'*Xd) | ||
@test vec_eq(Xd'*Xd, Xd.'*Xd) | ||
# @test_broken vec_eq(A*X, B*X) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this code commented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was commented out in old/operators.jl
, I have uncommented them and checked what were the issue, see the description of this PR for details :)
test/operator.jl
Outdated
@test vec_eq(A.+x, [1+x[1,1] 2+x[1,2]; | ||
3+x[2,1] 4+x[2,2]]) | ||
@test vec_eq(A.+x, B.+x) | ||
# @test vec_eq(A.+x, A.+y) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this commented?
Nice boost in coverage for |
Commented tests in JuMP v0.18 have been uncommented. One of them mentionned that was failing because of #912 but it now works. One of them was failing because of #1275 but a fix is contained in this PR.
A last test is failing because of #1276 but I defer the fix for a later PR.
Closes #912
Closes #1275