stan-dev/stan — pull request #73 by betanalpha (2013-05-23 15:48:35+00:00)
Title: Robust zero-initialization

Fixes the problem @mbrubake discovered, where a model ill-defined with its unconstrained parameters at zero is allowed to proceed to sampling. The zero initialization now checks for domain, value, and gradient errors. Tests added, with the makefile tweaked to compile pathological models.