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.
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.