alashworth / test-issue-import

0 stars 0 forks source link

Standalone compilation of functions is not compatible with RStan #151

Open alashworth opened 5 years ago

alashworth commented 5 years ago

Issue by martinmodrak Tuesday Jul 04, 2017 at 09:28 GMT Originally opened as https://github.com/stan-dev/stan/issues/2346


Summary:

While solving https://github.com/stan-dev/rstan/issues/422 some problems arised with the code. This issue is here to track them.

Description:

The problem is that generated functions are not well suited for RCpp. In particular, RCpp comments should not be added to templated functions. Also, there is a problem with using stan::math::lgamma; in the global namespace.

Current Version:

v2.16.0