stan-dev/stan — pull request #126 by betanalpha (2013-06-18 19:53:44+00:00)
Title: Gracefully handle NaNs in Hamiltonian

Addresses Issue #121. The static HMC code was missing a NaN check.