stan-dev/stan — pull request #960 by PeterLi2016 (2014-08-29 01:55:10+00:00)
Title: Feature/test nan erf

#### Summary:
Added NaN tests for erf in agrad/fwd/functions, and agrad/rev/functions with doc on behavior at NaN. I also switched to the no namespace version of erf to match the double version.

#### Intended Effect:
Added NaN tests for erf in agrad/fwd/functions, and agrad/rev/functions with doc on behavior at NaN.

#### How to Verify:
Run test/unit-agrad-fwd/functions/erf, test/unit-agrad-rev/functions/erf

#### Side Effects:
None.

#### Documentation:
Added doc on behavior of erf at NaN and partial derivatives.

#### Reviewer Suggestions:
Anyone.