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

Ambiguity with ForwardDiff #13

Open
dlfivefifty opened this issue Jul 6, 2021 · 1 comment
Open

Ambiguity with ForwardDiff #13

dlfivefifty opened this issue Jul 6, 2021 · 1 comment

Comments

@dlfivefifty
Copy link
Member

Not sure where the right place to fix this is but we currently have:

ERROR: MethodError: *(::ForwardDiff.Dual{ForwardDiff.Tag{var"#15#16", Float64}, Float64, 2}, ::Infinities.Infinity) is ambiguous. Candidates:
  *(a::Real, y::Infinities.Infinity) in Infinities at /Users/sheehanolver/.julia/packages/Infinities/lXuMq/src/Infinities.jl:223
  *(x::ForwardDiff.Dual{Tx, V, N} where {V, N}, y::Real) where Tx in ForwardDiff at /Users/sheehanolver/.julia/packages/ForwardDiff/QOqCN/src/dual.jl:139
Possible fix, define
  *(::ForwardDiff.Dual{Tx, V, N} where {V, N}, ::Infinities.Infinity) where T
@longemen3000
Copy link

those methods should be in an extension

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

No branches or pull requests

2 participants