This is an old version, view current version.
14.7 User-defined function with _log suffix
Removed: A user-defined function ending in _log can be no longer be used in
sampling statements.
Replacement: Replace the _log suffix with _lpdf for density
functions or _lpmf for mass functions in the user-defined function.
Removed In: Stan 2.33
Note: Following Stan 2.33, users can stil define a function ending in _log,
it simply no longer has a special meaning or is supported in the ~ syntax.