-
Notifications
You must be signed in to change notification settings - Fork 11
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
Juliav1.0 #7
Juliav1.0 #7
Conversation
new file: test/REQUIRE
modified: REQUIRE
Note that three tests do not pass. For these tests, @test has been replaced by @info. modified: test/bench-dnorm.jl modified: test/runtests.jl modified: test/test-dnorm.jl
This commit completes the minimal changes for SchattenNorms.jl to compile and to run the tests. modified: src/SchattenNorms.jl modified: src/dnorm.jl modified: src/dnormu.jl
The docstring was defined inside a let block. I moved the docstring into the file scope. modified: src/dnorm.jl
Precompilation is the default now. We may need to specify that SchattenNorms.jl *not* be compiled. modified: src/SchattenNorms.jl
modified: src/dnorm.jl
I write "__precompile__(false)". But, this does not stop precompilation. And precompilation fails. modified: src/SchattenNorms.jl
Qualifying the name of the solver in test/test-dnorm.jl shortens the search for its definition. modified: test/test-dnorm.jl
* In upgrading to v1.0, the linear algebra symbols in src/dnorm.jl were qualified with "LinearAlgebra". But, Convex has imported the names "isposdef", "tr", etc., from LinearAlgebra and added new methods. It is these new methods from Convex that are called here. * Implement optionally passing a solver to `dnorm`. modified: src/dnorm.jl
"warn" no longer exsists. I did not add a test for this. But, if the solver fails to converge these warnings will now be printed rather than throwing an error. modified: src/dnorm.jl
I'll have to do some more looking around to see why the diamond test is failing... |
So I think some up-stream changes are causing some slight differences in the numerics. I was able to get all tests to pass 70% of the time. The other 30% failed in the same way with the same numerical values off by the last digit of tolerance. For me its when the computed values of the |
Me too. I guess it is this one
I see this with a few matrices occasionally. Mostly this one. And it appears to be |
Ah! I totally for got about this PR. Looks like I duplicated a lot of your work with another PR. On the one hand I was able to track down the numerical issues across OSes (see: jump-dev/SCS.jl#114), but now I need to merge the two PRs. |
Argh... That's unfortunate. I hope there are not too many collisions.
Good. I also forgot it was not merged. I'm still interested in helping; The BBN repos are probably the best QI packages in Julia. But, I'm spread a bit thin |
This PR upgrades SchattenNorms.jl for Julia v1.0.