stan-dev / stanc3

The Stan transpiler (from Stan to C++ and beyond).
BSD 3-Clause "New" or "Revised" License
140 stars 44 forks source link

Make warning for no priors more descriptive #1226

Closed WardBrian closed 2 years ago

WardBrian commented 2 years ago

This is a partial fix for #932. The problem is well summarized by @rybern on the forums. I'm not sure entirely how to go about resolving the issue, but we should be more transparent in the warning until it is fixed.

Submission Checklist

Release notes

Improved the pedantic mode warning for parameters without priors. The message now highlights when it is safe to ignore.

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)