Skip to content

simple fix for #140 #142

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

Merged
merged 5 commits into from
Sep 15, 2020

Conversation

mateuszbaran
Copy link
Contributor

This is my attempt to fix #140. The relevant test is here: JuliaDiff/DiffTests.jl#10 and locally it passes.

@ChrisRackauckas
Copy link
Member

Add that test here as well?

@mateuszbaran
Copy link
Contributor Author

OK, I'll add that test here.

Copy link
Member

@mohamed82008 mohamed82008 left a comment

Choose a reason for hiding this comment

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

LGTM.

@mohamed82008
Copy link
Member

Once the test is added, this can be merged.

@mateuszbaran
Copy link
Contributor Author

I had to make an additional adjustment to make the tests pass on Julia 1.0. Additionally, if I use a random vector here: https://github.com/JuliaDiff/ReverseDiff.jl/pull/142/files#diff-516f2fc7e3b4733687c4f2f36918bd39R178 then one of further tests fails.

@mohamed82008 mohamed82008 merged commit ac6e736 into JuliaDiff:master Sep 15, 2020
@mohamed82008
Copy link
Member

Thanks @mateuszbaran! Sorry for the delayed merge :)

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.

Broadcasting and nested arrays (regression in ReverseDiff 1.4)
3 participants