stan-dev/stan — pull request #899 by PeterLi2016 (2014-08-21 18:37:40+00:00)
Title: Bugfix/issue 898 check unit vector nan

#### Summary:
Fix check_unit_vector (issue #898).

#### Intended Effect:
Make sure check_unit_vector fails when NaN is passed in.

#### How to Verify:
Run test/unit/math/error_handling/matrix/check_unit_vector

#### Side Effects:
None.

#### Documentation:
None.

#### Reviewer Suggestions:
Anyone.