Skip to content

correct the seeding order for seeded_reverse_pass! functions#60

Merged
jrevels merged 1 commit intomasterfrom
jr/fixseedorder
Mar 21, 2017
Merged

correct the seeding order for seeded_reverse_pass! functions#60
jrevels merged 1 commit intomasterfrom
jr/fixseedorder

Conversation

@jrevels
Copy link
Member

@jrevels jrevels commented Mar 15, 2017

This fixes #59. Test is added here. We'll have to re-run Travis once that's merged and tagged to get representative testing in this PR.

Funnily, enough, this also reveals similar bugs in both ForwardDiff and Calculus - both of them appear to get the wrong answer for the Jacobian of the identity. I've checked locally that this PR enables ReverseDiff to get the correct answer, but once the DiffBase PR is merged, tests will fail here, since ReverseDiff is checking against ForwardDiff, which checks against Calculus.

I'll start working on bug fixes for those packages as well.

@jrevels
Copy link
Member Author

jrevels commented Mar 16, 2017

Tests should pass here once JuliaLang/METADATA.jl#8357 is merged

@pkofod
Copy link

pkofod commented Mar 19, 2017

Rerun tests? PR is merged at metadata

@jrevels jrevels merged commit b1496d0 into master Mar 21, 2017
@jrevels jrevels deleted the jr/fixseedorder branch March 21, 2017 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ReverseDiff doesn't work for noop f(x)=x

2 participants