ekmett / ad

Automatic Differentiation
http://hackage.haskell.org/package/ad
BSD 3-Clause "New" or "Revised" License
368 stars 73 forks source link

Fix the Erf and InvErf methods for ForwardDouble #82

Closed niuren closed 4 years ago

niuren commented 5 years ago

A previous pull request (#57) fixed errors in the definitions of the derivatives of the methods of the Erf and InvErf classes for most of the ad modes. This pull request extends the fixes to ForwardDouble, which was missed because it doesn't use include/instances.h.