Open alashworth opened 5 years ago
Comment by bob-carpenter Thursday Nov 24, 2016 at 05:27 GMT
See #1299 for access in function definitions.
Comment by syclik Wednesday Nov 30, 2016 at 14:56 GMT
I'm bumping milestones up on this issue. Since we've introduced target +=
, it makes sense that we want to have this control on our functions.
Issue by bob-carpenter Friday Jan 17, 2014 at 12:20 GMT Originally opened as https://github.com/stan-dev/stan/issues/496
We should allow users to control whether constants are dropped in the model. Right now,
will drop any terms in
log foo(y | theta1,...,thetaN)
that are constant, whereaswill not. We could add controls so that either one can be used either way. It should be simple to implement because it's just a boolean template parameter to the same underlying function. I'm not sure what the syntax should be, but maybe something as simple as
foo_propto_log()
for the functions andfoo_full()
for the sampling statements. (It's unfortunate that the defaults are different, but I'd hate to break backward compatibility by changing that at this point.)