Skip to content
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

Fix #78 by overloading promote_array_type #82

Merged
merged 3 commits into from
Dec 18, 2015

Conversation

gragusa
Copy link
Contributor

@gragusa gragusa commented Dec 18, 2015

This updated PR fix #78. The problem was due to promote_array_type not having methods for ForwardDiffNumber.

ForwardDiff.ForwardDiffNumber{2, Float64,
Tuple{Float64, Float64}}, Float64)
fdiffnum = ForwardDiff.ForwardDiffNumber{2,Float64,Tuple{Float64,Float64}}
@test promtyp <: fordiffnum
Copy link
Collaborator

Choose a reason for hiding this comment

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

fdiffnum

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I just fixed it. Thanks.

@gragusa
Copy link
Contributor Author

gragusa commented Dec 18, 2015

@jrevels This PR overload promote_array_type for ForwardDiff.

@jrevels
Copy link
Member

jrevels commented Dec 18, 2015

Awesome, thanks for this! Let's wait for @mlubin's opinion, but this LGTM.

@mlubin
Copy link
Contributor

mlubin commented Dec 18, 2015

LGTM

mlubin added a commit that referenced this pull request Dec 18, 2015
Fix #78 by overloading promote_array_type
@mlubin mlubin merged commit 213b8a0 into JuliaDiff:master Dec 18, 2015
@haavardhvarnes haavardhvarnes mentioned this pull request Jun 10, 2020
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.

Breaking change between v0.1.2 and v0.1.3
4 participants