stan-dev/stan — pull request #36 by mbrubake (2013-05-03 04:29:32+00:00)
Title: New pattern to reduce code duplication in mixed-type agrad functions (v2)

Not sure why the previous pull request got closed, it hasn't been merged... Anyway, this leans on enable_if and a little template magic to greatly reduce the amount of code needed to implement mixed type function calls. Comments?