Skip to content

fix #422: nightly failures due to instabilities#431

Closed
simeonschaub wants to merge 1 commit intomasterfrom
sds/fix_eigen_instabilities
Closed

fix #422: nightly failures due to instabilities#431
simeonschaub wants to merge 1 commit intomasterfrom
sds/fix_eigen_instabilities

Conversation

@simeonschaub
Copy link
Member

No description provided.

@simeonschaub simeonschaub added the testing Related to tests label Jun 2, 2021
@github-actions github-actions bot added the needs version bump Version needs to be incremented or set to -DEV in Project.toml label Jun 2, 2021
@test Ḟ_ad.values ≈ Ḟ_fd.values
@test Ḟ_ad.vectors ≈ Ḟ_fd.vectors
@test frule((ZeroTangent(), ZeroTangent()), eigen!, copy(X)) == (F, ZeroTangent())
@test frule((ZeroTangent(), ZeroTangent()), eigen!, copy(X)) (F, ZeroTangent())
Copy link
Member

Choose a reason for hiding this comment

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

doesn't work on tuples.
And is deprecated on AbstractTangents

I think instead use the test_approx from ChainRulesTestUtils.
Similar above.

Suggested change
@test frule((ZeroTangent(), ZeroTangent()), eigen!, copy(X)) (F, ZeroTangent())
test_approx(frule((ZeroTangent(), ZeroTangent()), eigen!, copy(X)), (F, ZeroTangent()))

simeonschaub added a commit to JuliaDiff/ChainRulesTestUtils.jl that referenced this pull request Jun 2, 2021
simeonschaub added a commit to JuliaDiff/ChainRulesTestUtils.jl that referenced this pull request Jun 2, 2021
@simeonschaub simeonschaub force-pushed the sds/fix_eigen_instabilities branch from 97ecc89 to 7d18f6f Compare June 2, 2021 14:31
@codecov-commenter
Copy link

codecov-commenter commented Jun 2, 2021

Codecov Report

Merging #431 (7d18f6f) into master (f46d7cb) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #431   +/-   ##
=======================================
  Coverage   98.38%   98.38%           
=======================================
  Files          21       21           
  Lines        1984     1984           
=======================================
  Hits         1952     1952           
  Misses         32       32           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f46d7cb...7d18f6f. Read the comment docs.

@simeonschaub
Copy link
Member Author

Superseded by JuliaLang/julia#41132

@simeonschaub simeonschaub deleted the sds/fix_eigen_instabilities branch June 8, 2021 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs version bump Version needs to be incremented or set to -DEV in Project.toml testing Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants