Skip to content

fma not defined #202

Closed
Closed

Description

@tpapp

MWE:

julia>  using ForwardDiff

julia>  f(x) = fma(x, 3.0, 4.0)
WARNING: Method definition f(Any) in module Main at REPL[2]:1 overwritten at REPL[6]:1.
f (generic function with 1 method)

julia>  ForwardDiff.derivative(f, 1.0)
ERROR: fma not defined for ForwardDiff.Dual{1,Float64}
 in derivative(::#f, ::Float64) at /home/tamas/.julia/v0.5/ForwardDiff/src/derivative.jl:5

A PR will follow soon — I guess I just add this manually?

Activity

  1. added a commit that references this issue on Mar 8, 2017
  2. tpapp commented on Mar 12, 2017

    @tpapp
    ContributorAuthor

    Now that the PR is merged, I am closing the issue.

    I wonder if you could do a minor release in the near future, so that I could REQUIRE a version that contains the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions