This is an old version, view current version.

13.2 increment_log_prob statement

Deprecated: The deprecated syntax for incrementing the log density accumulator by u is

increment_log_prob(u);

If u is an expression of real type, the underlying log density accumulator is incremented by u; if u is a container, the underlying log density is incremented with each element.

Replacement: Replace the above statement with

target += u;

Scheduled Removal: Stan 2.33